2016-08-29 01:55:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cpp-hocon-${version}";
|
2017-04-30 12:12:29 +01:00
|
|
|
version = "0.1.5";
|
2016-08-29 01:55:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-04-30 12:12:29 +01:00
|
|
|
sha256 = "0fc5468458mz572nbp45x5sblp6dsb4d1b6jqv77zf3mx5xyziz7";
|
2016-08-29 01:55:40 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|