Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 version = "1.0.5"; 10 pname = "liblaxjson"; 11 12 src = fetchFromGitHub { 13 owner = "andrewrk"; 14 repo = "liblaxjson"; 15 rev = version; 16 sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s"; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Library for parsing JSON config files"; 23 homepage = "https://github.com/andrewrk/liblaxjson"; 24 license = licenses.mit; 25 platforms = platforms.unix; 26 maintainers = [ maintainers.andrewrk ]; 27 }; 28}