From 1bac115b05d5407801f1dc6830c45549c2d3323f Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Mon, 29 Aug 2016 08:55:40 +0800 Subject: [PATCH] cpp-hocon: init at 0.1.2 --- .../libraries/cpp-hocon/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/libraries/cpp-hocon/default.nix diff --git a/pkgs/development/libraries/cpp-hocon/default.nix b/pkgs/development/libraries/cpp-hocon/default.nix new file mode 100644 index 000000000000..3c4fe70c19d4 --- /dev/null +++ b/pkgs/development/libraries/cpp-hocon/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }: + +stdenv.mkDerivation rec { + name = "cpp-hocon-${version}"; + version = "0.1.2"; + + src = fetchFromGitHub { + sha256 = "0v2mnak6fh13dkl25lfvw1la2dfjqrh3lq1d40r3a52m56vwflrg"; + rev = version; + repo = "cpp-hocon"; + owner = "puppetlabs"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost curl leatherman ]; + + 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; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6fe5968391e1..2c54f1e753f1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7085,6 +7085,8 @@ in cppdb = callPackage ../development/libraries/cppdb { }; + cpp-hocon = callPackage ../development/libraries/cpp-hocon { }; + cpp-netlib = callPackage ../development/libraries/cpp-netlib { }; cppcms = callPackage ../development/libraries/cppcms { };