facter: 3.13.2 -> 3.14.5 (#64019)
* facter: 3.13.2 -> 3.14.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/facter/versions * facter: 3.14.0 -> 3.14.5
This commit is contained in:
parent
e30988e506
commit
7c6f46511d
@ -2,29 +2,30 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "facter";
|
pname = "facter";
|
||||||
version = "3.13.2";
|
version = "3.14.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
sha256 = "1yaj1qlyzsaffzpm4zmzm53mc6bhpzka8wc3dfk909nzykxg34zf";
|
sha256 = "0xzzhlsfw8yd3ac4kvr3za0rlkgfw28dzxzi5i1qbhzljivvipm5";
|
||||||
rev = version;
|
rev = version;
|
||||||
repo = "facter";
|
repo = pname;
|
||||||
owner = "puppetlabs";
|
owner = "puppetlabs";
|
||||||
};
|
};
|
||||||
|
|
||||||
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
|
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
|
||||||
NIX_LDFLAGS = "-lblkid";
|
NIX_LDFLAGS = "-lblkid";
|
||||||
|
|
||||||
cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ];
|
cmakeFlags = [
|
||||||
|
"-DFACTER_RUBY=${ruby}/lib/libruby.so"
|
||||||
|
"-DRUBY_LIB_INSTALL=${placeholder "out"}/lib/ruby"
|
||||||
|
];
|
||||||
|
|
||||||
# since we cant expand $out in cmakeFlags
|
nativeBuildInputs = [ cmake ];
|
||||||
preConfigure = "cmakeFlags+=\" -DRUBY_LIB_INSTALL=$out/lib/ruby\"";
|
buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];
|
||||||
|
|
||||||
buildInputs = [ boost cmake cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
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";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.womfoo ];
|
maintainers = [ maintainers.womfoo ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user