nixpkgs/pkgs/development/libraries/liblaxjson/default.nix

24 lines
564 B
Nix
Raw Normal View History

2015-06-16 11:04:55 +02:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
version = "1.0.5";
pname = "liblaxjson";
2015-06-16 11:04:55 +02:00
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 ];
};
}