nixpkgs/pkgs/development/libraries/cpp-hocon/default.nix

29 lines
653 B
Nix
Raw Normal View History

2016-08-29 00:55:40 +00:00
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
stdenv.mkDerivation rec {
pname = "cpp-hocon";
version = "0.2.1";
2016-08-29 00:55:40 +00:00
src = fetchFromGitHub {
sha256 = "0ar7q3rp46m01wvfa289bxnk9xma3ydc67by7i4nrpz8vamvhwc3";
2016-08-29 00:55:40 +00:00
rev = version;
repo = "cpp-hocon";
owner = "puppetlabs";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl leatherman ];
2017-09-25 10:59:41 +00:00
enableParallelBuilding = true;
2016-08-29 00:55:40 +00: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;
};
}