1{ lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
2
3stdenv.mkDerivation rec {
4 pname = "leatherman";
5 version = "1.12.6";
6
7 src = fetchFromGitHub {
8 sha256 = "sha256-k5Lt/NCSlBaTGhpR4T3Q4Ih+RR1xKROxz+RNYor7zaQ=";
9 rev = version;
10 repo = "leatherman";
11 owner = "puppetlabs";
12 };
13
14 NIX_CFLAGS_COMPILE = "-Wno-error";
15
16 nativeBuildInputs = [ cmake ];
17 buildInputs = [ boost curl ruby ];
18
19 meta = with lib; {
20 homepage = "https://github.com/puppetlabs/leatherman/";
21 description = "A collection of C++ and CMake utility libraries";
22 license = licenses.asl20;
23 maintainers = [ maintainers.womfoo ];
24 platforms = platforms.unix;
25 };
26
27}