about summary refs log tree commit diff
path: root/pkgs/tools/system/facter/default.nix
blob: c0328636536c8cf57f30ebdcb4fcca808c6ff503 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, boost, cmake, curl, libyamlcpp, openssl, utillinux }:

stdenv.mkDerivation rec {
  name = "facter-${version}";
  version = "3.1.3";
  src = fetchurl {
    url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz";
    sha256 = "1ngp3xjdh6x1w7lsi4lji2xzqp0x950jngcdlq11lcr0wfnzwyxj";
  };

  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;
  };

}