mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
653 B
Nix
29 lines
653 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cpp-hocon";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "0ar7q3rp46m01wvfa289bxnk9xma3ydc67by7i4nrpz8vamvhwc3";
|
|
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;
|
|
};
|
|
|
|
}
|