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