forked from mirrors/nixpkgs
facter: 3.6.4 -> 3.6.6
This commit is contained in:
parent
33b9e68b1a
commit
a038866c97
|
@ -2,15 +2,18 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "facter-${version}";
|
||||
version = "3.6.4";
|
||||
version = "3.6.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "177mmg5a4s4q2p76df4z6c51nfnr73qya1pvvj6fcs1gld01xjr6";
|
||||
sha256 = "07jphvwfmvrq28f8k15k16kz090zvb11nn6bd895fz5axag01ins";
|
||||
rev = version;
|
||||
repo = "facter";
|
||||
owner = "puppetlabs";
|
||||
};
|
||||
|
||||
CXXFLAGS = "-fpermissive";
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
|
||||
cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ];
|
||||
|
||||
# since we cant expand $out in cmakeFlags
|
||||
|
@ -18,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ boost cmake cpp-hocon curl leatherman libyamlcpp openssl ruby utillinux ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/puppetlabs/facter;
|
||||
description = "A system inventory tool";
|
||||
|
|
Loading…
Reference in a new issue