about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/parson/default.nix
blob: a61df952f893a5f04c8364e1e8c1e417e0e68681 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, meson, ninja }:

stdenv.mkDerivation {
  pname = "parson";
  version = "1.5.2";

  src = fetchFromGitHub {
    owner = "kgabis";
    repo = "parson";
    rev = "60c37844d7a1c97547812cac3423d458c73e60f9"; # upstream doesn't use tags
    hash = "sha256-SbM0kqRtdcz1s+pUTW7VPMY1O6zdql3bao19Rk4t470=";
  };

  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 ];
  };
}