mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
29 lines
663 B
Nix
29 lines
663 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cpp-hocon-${version}";
|
|
version = "0.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "0qf2nqp28ahypnzjrr37f54i06ylni40y18q9kwp5s7i5cwbjqgc";
|
|
rev = version;
|
|
repo = "cpp-hocon";
|
|
owner = "puppetlabs";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost curl leatherman ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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;
|
|
};
|
|
|
|
}
|