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 ];
|
|
|
|
|
2016-08-01 12:20:45 +01:00
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|