1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/leatherman/default.nix

29 lines
813 B
Nix
Raw Normal View History

2016-04-17 17:35:10 +01:00
{ stdenv, fetchFromGitHub, boost, cmake, curl }:
stdenv.mkDerivation rec {
name = "leatherman-${version}";
2016-07-10 16:33:18 +01:00
version = "0.7.5";
2016-04-17 17:35:10 +01:00
src = fetchFromGitHub {
2016-07-10 16:33:18 +01:00
sha256 = "103qzhjhgw7jh0xcaxag735wfm6q35xprq5wmdimfhhmmrmjr51g";
2016-04-17 17:35:10 +01:00
rev = version;
repo = "leatherman";
owner = "puppetlabs";
};
buildInputs = [ boost cmake curl ];
# curl upgrade to 7.50.0 (#17152) broke the curl mock tests, disabling for now
# upstream bug raised https://tickets.puppetlabs.com/browse/LTH-108
cmakeFlags = [ "-DLEATHERMAN_MOCK_CURL=OFF" ];
2016-04-17 17:35:10 +01:00
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;
};
}