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