diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/cpp-hocon')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/cpp-hocon/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/cpp-hocon/default.nix b/nixpkgs/pkgs/development/libraries/cpp-hocon/default.nix new file mode 100644 index 000000000000..01da4753b0e6 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/cpp-hocon/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }: + +stdenv.mkDerivation rec { + pname = "cpp-hocon"; + version = "0.2.2"; + + src = fetchFromGitHub { + sha256 = "1c8zy4hi0182k0vfx5l8bjq1iv7lvvw1zi4vy3429s898rx7z3d3"; + rev = version; + repo = "cpp-hocon"; + owner = "puppetlabs"; + }; + + NIX_CFLAGS_COMPILE = "-Wno-error=catch-value"; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost curl leatherman ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = " A C++ port of the Typesafe Config library"; + license = licenses.asl20; + maintainers = [ maintainers.womfoo ]; + platforms = platforms.linux; + }; + +} |