depot/third_party/nixpkgs/pkgs/development/libraries/leatherman/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

29 lines
734 B
Nix

{ lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
stdenv.mkDerivation rec {
pname = "leatherman";
version = "1.12.9";
src = fetchFromGitHub {
sha256 = "sha256-TuiOAinJsQWJVJiaS8kWk4Pl+hn521f4ooJ2p+eR6mk=";
rev = version;
repo = "leatherman";
owner = "puppetlabs";
};
cmakeFlags = [ "-DLEATHERMAN_ENABLE_TESTING=OFF" ];
env.NIX_CFLAGS_COMPILE = "-Wno-error";
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl ruby ];
meta = with lib; {
homepage = "https://github.com/puppetlabs/leatherman/";
description = "A collection of C++ and CMake utility libraries";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.unix;
};
}