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