mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
facter: init at 3.0.2
This commit is contained in:
parent
0c3e31a662
commit
78309d9825
23
pkgs/tools/system/facter/default.nix
Normal file
23
pkgs/tools/system/facter/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -15143,4 +15143,6 @@ let
|
||||
|
||||
udevil = callPackage ../applications/misc/udevil {};
|
||||
|
||||
facter = callPackage ../tools/system/facter {};
|
||||
|
||||
}; in self; in pkgs
|
||||
|
Loading…
Reference in New Issue
Block a user