2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2015-06-16 10:04:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0.5";
|
2019-08-15 13:41:18 +01:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2015-06-16 10:04:55 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-06-16 10:04:55 +01:00
|
|
|
description = "Library for parsing JSON config files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/andrewrk/liblaxjson";
|
2015-06-16 10:04:55 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.andrewrk ];
|
|
|
|
};
|
|
|
|
}
|