mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
27 lines
629 B
Nix
27 lines
629 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cpp-hocon-${version}";
|
|
version = "0.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1abalk0sjfg4yfz148hdknsbnl2xwjb8li7lqc64d07ifxhcqr87";
|
|
rev = version;
|
|
repo = "cpp-hocon";
|
|
owner = "puppetlabs";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost curl leatherman ];
|
|
|
|
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;
|
|
};
|
|
|
|
}
|