Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 652 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 meson, 6 ninja, 7}: 8 9stdenv.mkDerivation { 10 pname = "parson"; 11 version = "1.5.3"; 12 13 src = fetchFromGitHub { 14 owner = "kgabis"; 15 repo = "parson"; 16 rev = "ba29f4eda9ea7703a9f6a9cf2b0532a2605723c3"; # upstream doesn't use tags 17 hash = "sha256-IEmCa0nauUzG+zcLpr++ySD7i21zVJh/35r9RaQkok0="; 18 }; 19 20 nativeBuildInputs = [ 21 meson 22 ninja 23 ]; 24 25 meta = { 26 description = "Lightweight JSON library written in C"; 27 homepage = "https://github.com/kgabis/parson"; 28 license = lib.licenses.mit; 29 platforms = lib.platforms.all; 30 maintainers = with lib.maintainers; [ sigmanificient ]; 31 }; 32}