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

22 lines
621 B
Nix
Raw Normal View History

2015-07-27 06:31:47 +03:00
{ stdenv, fetchurl, boost, cmake, curl, libyamlcpp, openssl, utillinux }:
stdenv.mkDerivation rec {
name = "facter-${version}";
2016-01-01 10:39:03 +03:00
version = "3.1.3";
2015-07-27 06:31:47 +03:00
src = fetchurl {
url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz";
2016-01-01 10:39:03 +03:00
sha256 = "1ngp3xjdh6x1w7lsi4lji2xzqp0x950jngcdlq11lcr0wfnzwyxj";
2015-07-27 06:31:47 +03:00
};
buildInputs = [ boost cmake curl libyamlcpp openssl utillinux ];
2015-07-27 06:31:47 +03:00
meta = with stdenv.lib; {
homepage = https://github.com/puppetlabs/facter;
description = "A system inventory tool";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}