2016-08-28 17:55:40 -07:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "cpp-hocon";
|
2020-07-03 18:28:11 -07:00
|
|
|
version = "0.3.0";
|
2016-08-28 17:55:40 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-07-03 18:28:11 -07:00
|
|
|
sha256 = "0b24anpwkmvbsn5klnr58vxksw00ci9pjhwzx7a61kplyhsaiydw";
|
2016-08-28 17:55:40 -07:00
|
|
|
rev = version;
|
|
|
|
repo = "cpp-hocon";
|
|
|
|
owner = "puppetlabs";
|
|
|
|
};
|
|
|
|
|
2019-10-29 18:29:30 -07:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
|
2019-01-11 03:02:16 -08:00
|
|
|
|
2016-08-28 17:55:40 -07:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ boost curl leatherman ];
|
|
|
|
|
2017-09-25 03:59:41 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-08-28 17:55:40 -07: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|