depot/third_party/nixpkgs/pkgs/development/libraries/leatherman/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

29 lines
735 B
Nix

{ lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
stdenv.mkDerivation rec {
pname = "leatherman";
version = "1.12.12";
src = fetchFromGitHub {
sha256 = "sha256-V/AMdJ3ldlgBaO8gS0FOqb5tTdRGGW/+3LZq/TKkdog=";
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;
};
}