Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 23 lines 615 B view raw
1{ lib, stdenv, fetchFromGitHub, meson, ninja }: 2 3stdenv.mkDerivation { 4 pname = "parson"; 5 version = "1.5.2"; 6 7 src = fetchFromGitHub { 8 owner = "kgabis"; 9 repo = "parson"; 10 rev = "60c37844d7a1c97547812cac3423d458c73e60f9"; # upstream doesn't use tags 11 hash = "sha256-SbM0kqRtdcz1s+pUTW7VPMY1O6zdql3bao19Rk4t470="; 12 }; 13 14 nativeBuildInputs = [ meson ninja ]; 15 16 meta = with lib; { 17 description = "Lightweight JSON library written in C"; 18 homepage = "https://github.com/kgabis/parson"; 19 license = licenses.mit; 20 platforms = platforms.all; 21 maintainers = [ maintainers.marsam ]; 22 }; 23}