mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
24 lines
574 B
Nix
24 lines
574 B
Nix
|
{ stdenv, fetchFromGitHub, cmake }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
version = "1.0.5";
|
||
|
name = "liblaxjson-${version}";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "andrewrk";
|
||
|
repo = "liblaxjson";
|
||
|
rev = "${version}";
|
||
|
sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ cmake ];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Library for parsing JSON config files";
|
||
|
homepage = https://github.com/andrewrk/liblaxjson;
|
||
|
license = licenses.mit;
|
||
|
platforms = platforms.unix;
|
||
|
maintainers = [ maintainers.andrewrk ];
|
||
|
};
|
||
|
}
|