2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2015-06-16 02:04:55 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0.5";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "liblaxjson";
|
2015-06-16 02:04:55 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "andrewrk";
|
|
|
|
repo = "liblaxjson";
|
2019-09-08 16:38:31 -07:00
|
|
|
rev = version;
|
2015-06-16 02:04:55 -07:00
|
|
|
sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s";
|
|
|
|
};
|
|
|
|
|
2020-12-30 23:48:55 -08:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2015-06-16 02:04:55 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2015-06-16 02:04:55 -07:00
|
|
|
description = "Library for parsing JSON config files";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/andrewrk/liblaxjson";
|
2015-06-16 02:04:55 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.andrewrk ];
|
|
|
|
};
|
|
|
|
}
|