1{ lib, stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
2
3stdenv.mkDerivation rec {
4 pname = "cpp-hocon";
5 version = "0.3.0";
6
7 src = fetchFromGitHub {
8 sha256 = "0b24anpwkmvbsn5klnr58vxksw00ci9pjhwzx7a61kplyhsaiydw";
9 rev = version;
10 repo = "cpp-hocon";
11 owner = "puppetlabs";
12 };
13
14 NIX_CFLAGS_COMPILE = "-Wno-error";
15
16 nativeBuildInputs = [ cmake ];
17
18 buildInputs = [ boost curl leatherman ];
19
20 meta = with lib; {
21 inherit (src.meta) homepage;
22 description = "A C++ port of the Typesafe Config library";
23 license = licenses.asl20;
24 maintainers = [ maintainers.womfoo ];
25 platforms = platforms.unix;
26 };
27
28}