@@ -1,10 +1,7 @@
1−{ stdenv
2−, fetchFromGitHub
3−, cmake
4−, python
5−}:
1+{ stdenv , fetchFromGitHub , cmake , python }:
2+
63stdenv.mkDerivation rec {
7− name = "jsoncpp-${version}";
4+ pname = "jsoncpp";
85 version = "1.8.4";
96
107 src = fetchFromGitHub {
@@ -36,13 +33,14 @@ stdenv.mkDerivation rec {
3633 cmakeFlags = [
3734 "-DBUILD_SHARED_LIBS=ON"
3835 "-DBUILD_STATIC_LIBS=OFF"
36+ "-DJSONCPP_WITH_CMAKE_PACKAGE=ON"
3937 ];
4038
4139 meta = with stdenv.lib; {
4240 inherit version;
4341 homepage = https://github.com/open-source-parsers/jsoncpp;
4442 description = "A C++ library for interacting with JSON.";
45− maintainers = with maintainers; [ ttuegel cpages ];
43+ maintainers = with maintainers; [ ttuegel cpages nand0p ];
4644 license = licenses.mit;
4745 platforms = platforms.all;
4846 };