2016-08-29 00:55:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cpp-hocon-${version}";
|
2016-12-27 04:47:25 +00:00
|
|
|
version = "0.1.4";
|
2016-08-29 00:55:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-12-27 04:47:25 +00:00
|
|
|
sha256 = "1abalk0sjfg4yfz148hdknsbnl2xwjb8li7lqc64d07ifxhcqr87";
|
2016-08-29 00:55:40 +00: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|