2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
2016-08-29 01:55:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cpp-hocon";
|
2020-07-04 02:28:11 +01:00
|
|
|
version = "0.3.0";
|
2016-08-29 01:55:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-07-04 02:28:11 +01:00
|
|
|
sha256 = "0b24anpwkmvbsn5klnr58vxksw00ci9pjhwzx7a61kplyhsaiydw";
|
2016-08-29 01:55:40 +01:00
|
|
|
rev = version;
|
|
|
|
repo = "cpp-hocon";
|
|
|
|
owner = "puppetlabs";
|
|
|
|
};
|
|
|
|
|
2020-07-04 10:22:00 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
2019-01-11 11:02:16 +00:00
|
|
|
|
2016-08-29 01:55:40 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ boost curl leatherman ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-08-29 01:55:40 +01:00
|
|
|
inherit (src.meta) homepage;
|
2020-07-04 10:22:00 +01:00
|
|
|
description = "A C++ port of the Typesafe Config library";
|
2016-08-29 01:55:40 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
2020-07-04 10:22:00 +01:00
|
|
|
platforms = platforms.unix;
|
2016-08-29 01:55:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|