diff --git a/pkgs/development/libraries/leatherman/default.nix b/pkgs/development/libraries/leatherman/default.nix new file mode 100644 index 000000000000..60205d7a856b --- /dev/null +++ b/pkgs/development/libraries/leatherman/default.nix @@ -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; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 088e27c8e8f0..feefb61dfe86 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2195,6 +2195,8 @@ in leafpad = callPackage ../applications/editors/leafpad { }; + leatherman = callPackage ../development/libraries/leatherman {}; + leela = callPackage ../tools/graphics/leela { }; lftp = callPackage ../tools/networking/lftp { };