nixpkgs/pkgs/development/libraries/parson/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
615 B
Nix
Raw Normal View History

2023-04-01 04:20:00 +00:00
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
stdenv.mkDerivation {
pname = "parson";
2023-05-20 04:20:00 +00:00
version = "1.5.2";
2023-04-01 04:20:00 +00:00
src = fetchFromGitHub {
owner = "kgabis";
repo = "parson";
2023-05-20 04:20:00 +00:00
rev = "60c37844d7a1c97547812cac3423d458c73e60f9"; # upstream doesn't use tags
hash = "sha256-SbM0kqRtdcz1s+pUTW7VPMY1O6zdql3bao19Rk4t470=";
2023-04-01 04:20:00 +00:00
};
nativeBuildInputs = [ meson ninja ];
meta = with lib; {
description = "Lightweight JSON library written in C";
homepage = "https://github.com/kgabis/parson";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];
};
}