2016-08-29 01:55:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cpp-hocon-${version}";
|
2018-06-28 06:45:23 +01:00
|
|
|
version = "0.1.7";
|
2016-08-29 01:55:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-06-28 06:45:23 +01:00
|
|
|
sha256 = "0mfpz349c3arihvngw1a1gfhwlcw6wiwyc44bghjx1q109w7wm1m";
|
2016-08-29 01:55:40 +01:00
|
|
|
rev = version;
|
|
|
|
repo = "cpp-hocon";
|
|
|
|
owner = "puppetlabs";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ boost curl leatherman ];
|
|
|
|
|
2017-09-25 11:59:41 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-08-29 01:55:40 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|