nixpkgs/pkgs/tools/system/facter/default.nix

24 lines
680 B
Nix
Raw Normal View History

2015-07-27 03:31:47 +00:00
{ stdenv, fetchurl, boost, cmake, curl, libyamlcpp, openssl, utillinux }:
stdenv.mkDerivation rec {
name = "facter-${version}";
2016-01-01 07:39:03 +00:00
version = "3.1.3";
2015-07-27 03:31:47 +00:00
src = fetchurl {
url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz";
2016-01-01 07:39:03 +00:00
sha256 = "1ngp3xjdh6x1w7lsi4lji2xzqp0x950jngcdlq11lcr0wfnzwyxj";
2015-07-27 03:31:47 +00:00
};
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;
};
}