at 18.09-beta 663 B view raw
1{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }: 2 3stdenv.mkDerivation rec { 4 name = "cpp-hocon-${version}"; 5 version = "0.1.7"; 6 7 src = fetchFromGitHub { 8 sha256 = "0mfpz349c3arihvngw1a1gfhwlcw6wiwyc44bghjx1q109w7wm1m"; 9 rev = version; 10 repo = "cpp-hocon"; 11 owner = "puppetlabs"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 buildInputs = [ boost curl leatherman ]; 17 18 enableParallelBuilding = true; 19 20 meta = with stdenv.lib; { 21 inherit (src.meta) homepage; 22 description = " A C++ port of the Typesafe Config library"; 23 license = licenses.asl20; 24 maintainers = [ maintainers.womfoo ]; 25 platforms = platforms.linux; 26 }; 27 28}