3
0
Fork 0
forked from mirrors/nixpkgs

facter: 3.6.4 -> 3.6.6

This commit is contained in:
Franz Pletz 2017-07-31 23:30:59 +02:00 committed by Robin Gloster
parent 33b9e68b1a
commit a038866c97
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -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";