summary refs log tree commit diff
path: root/pkgs/development/libraries/jsoncpp/1.6.nix
blob: 69dfc217573128595dacc892b30c4f75df5f10ad (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
24
{ stdenv, fetchurl, cmake, python }:

let
  basename = "jsoncpp";
  version = "1.6.0";
in
stdenv.mkDerivation rec {
  name = "${basename}-${version}";
  src = fetchurl {
    url = "https://github.com/open-source-parsers/${basename}/archive/${version}.tar.gz";
    sha256 = "0ff1niks3y41gr6z13q9m391na70abqyi9rj4z3y2fz69cwm6sgz";
  };

  nativeBuildInputs = [ cmake python ];

  meta = {
    inherit version;
    homepage = https://github.com/open-source-parsers/jsoncpp;
    description = "A simple API to manipulate JSON data in C++";
    maintainers = with stdenv.lib.maintainers; [ ttuegel ];
    license = with stdenv.lib.licenses; [ mit ];
    branch = "1.6";
  };
}