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

24 lines
565 B
Nix
Raw Normal View History

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