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

24 lines
565 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2015-06-16 09:04:55 +00:00
stdenv.mkDerivation rec {
version = "1.0.5";
pname = "liblaxjson";
2015-06-16 09:04:55 +00:00
src = fetchFromGitHub {
owner = "andrewrk";
repo = "liblaxjson";
2019-09-08 23:38:31 +00:00
rev = version;
2015-06-16 09:04:55 +00:00
sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s";
};
nativeBuildInputs = [ cmake ];
2015-06-16 09:04:55 +00:00
meta = with lib; {
2015-06-16 09:04:55 +00:00
description = "Library for parsing JSON config files";
homepage = "https://github.com/andrewrk/liblaxjson";
2015-06-16 09:04:55 +00:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.andrewrk ];
};
}