Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / leatherman / default.nix
blob8c6eeb3f3fb1bd4c1e4d2a038725fd3d8dd0fbcd
1 { lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
3 stdenv.mkDerivation rec {
4   pname = "leatherman";
5   version = "1.12.10";
7   src = fetchFromGitHub {
8     sha256 = "sha256-0AHChU96LOVCsd+b77nKV4lOt1FtbVfv+OSNvGjekYo=";
9     rev = version;
10     repo = "leatherman";
11     owner = "puppetlabs";
12   };
14   cmakeFlags = [ "-DLEATHERMAN_ENABLE_TESTING=OFF" ];
16   env.NIX_CFLAGS_COMPILE = "-Wno-error";
18   nativeBuildInputs = [ cmake ];
19   buildInputs = [ boost curl ruby ];
21   meta = with lib; {
22     homepage = "https://github.com/puppetlabs/leatherman/";
23     description = "A collection of C++ and CMake utility libraries";
24     license = licenses.asl20;
25     maintainers = [ maintainers.womfoo ];
26     platforms = platforms.unix;
27   };