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