2016-08-29 01:55:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cpp-hocon";
|
2018-11-10 07:28:57 +00:00
|
|
|
version = "0.2.1";
|
2016-08-29 01:55:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-11-10 07:28:57 +00:00
|
|
|
sha256 = "0ar7q3rp46m01wvfa289bxnk9xma3ydc67by7i4nrpz8vamvhwc3";
|
2016-08-29 01:55:40 +01:00
|
|
|
rev = version;
|
|
|
|
repo = "cpp-hocon";
|
|
|
|
owner = "puppetlabs";
|
|
|
|
};
|
|
|
|
|
2019-01-11 11:02:16 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=catch-value" ];
|
|
|
|
|
2016-08-29 01:55:40 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|