Merge pull request #14780 from womfoo/update-facter
Update facter: 3.1.3 -> 3.1.5 and add new library dependency leatherman 0.4.2
This commit is contained in:
commit
00f5f08e05
24
pkgs/development/libraries/leatherman/default.nix
Normal file
24
pkgs/development/libraries/leatherman/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, boost, cmake, curl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "leatherman-${version}";
|
||||||
|
version = "0.4.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
sha256 = "07bgv99lzzhxy4l7mdyassxqy33zv7arvfw63bymsqavppphqlrr";
|
||||||
|
rev = version;
|
||||||
|
repo = "leatherman";
|
||||||
|
owner = "puppetlabs";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ boost cmake curl ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/puppetlabs/leatherman/;
|
||||||
|
description = "A collection of C++ and CMake utility libraries";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.womfoo ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchurl, boost, cmake, curl, libyamlcpp, openssl, utillinux }:
|
{ stdenv, fetchurl, boost, cmake, curl, leatherman, libyamlcpp, openssl, utillinux }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "facter-${version}";
|
name = "facter-${version}";
|
||||||
version = "3.1.3";
|
version = "3.1.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz";
|
url = "https://downloads.puppetlabs.com/facter/${name}.tar.gz";
|
||||||
sha256 = "1ngp3xjdh6x1w7lsi4lji2xzqp0x950jngcdlq11lcr0wfnzwyxj";
|
sha256 = "0k2k92y42zb6vf542zwkhvg15kv32yb4zvw6nlcqlgmyg19c5qmv";
|
||||||
};
|
};
|
||||||
|
|
||||||
libyamlcpp_ = libyamlcpp.override { makePIC = true; };
|
libyamlcpp_ = libyamlcpp.override { makePIC = true; };
|
||||||
|
|
||||||
buildInputs = [ boost cmake curl libyamlcpp_ openssl utillinux ];
|
buildInputs = [ boost cmake curl leatherman libyamlcpp_ openssl utillinux ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/puppetlabs/facter;
|
homepage = https://github.com/puppetlabs/facter;
|
||||||
|
@ -2195,6 +2195,8 @@ in
|
|||||||
|
|
||||||
leafpad = callPackage ../applications/editors/leafpad { };
|
leafpad = callPackage ../applications/editors/leafpad { };
|
||||||
|
|
||||||
|
leatherman = callPackage ../development/libraries/leatherman {};
|
||||||
|
|
||||||
leela = callPackage ../tools/graphics/leela { };
|
leela = callPackage ../tools/graphics/leela { };
|
||||||
|
|
||||||
lftp = callPackage ../tools/networking/lftp { };
|
lftp = callPackage ../tools/networking/lftp { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user