facter: init at 3.0.2

This commit is contained in:
Kranium Gikos Mendoza 2015-07-27 11:31:47 +08:00
parent 0c3e31a662
commit 78309d9825
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, boost, cmake, curl, libyamlcpp, openssl, utillinux }:
stdenv.mkDerivation rec {
name = "facter-${version}";
version = "3.0.2";
src = fetchurl {
url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz";
sha256 = "1myf1r827bh3n0snkzwj2jnc0sax9bq6z1vv9gr90rqr73lixvig";
};
libyamlcpp_ = libyamlcpp.override { makePIC = true; };
buildInputs = [ boost cmake curl libyamlcpp_ openssl utillinux ];
meta = with stdenv.lib; {
homepage = https://github.com/puppetlabs/facter;
description = "A system inventory tool";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}

View File

@ -15143,4 +15143,6 @@ let
udevil = callPackage ../applications/misc/udevil {};
facter = callPackage ../tools/system/facter {};
}; in self; in pkgs