add jsoncpp-1.6.0
dependency of cmake-3.2
This commit is contained in:
parent
37c95d6a48
commit
19a4fc2b46
24
pkgs/development/libraries/jsoncpp/1.6.nix
Normal file
24
pkgs/development/libraries/jsoncpp/1.6.nix
Normal file
@ -0,0 +1,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";
|
||||||
|
};
|
||||||
|
}
|
@ -6074,6 +6074,7 @@ let
|
|||||||
json_c = callPackage ../development/libraries/json-c { };
|
json_c = callPackage ../development/libraries/json-c { };
|
||||||
|
|
||||||
jsoncpp = callPackage ../development/libraries/jsoncpp { };
|
jsoncpp = callPackage ../development/libraries/jsoncpp { };
|
||||||
|
jsoncpp-1_6 = callPackage ../development/libraries/jsoncpp/1.6.nix { };
|
||||||
|
|
||||||
libjson = callPackage ../development/libraries/libjson { };
|
libjson = callPackage ../development/libraries/libjson { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user