python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / leatherman / default.nix
blobfe5c23b36105e114545399e43022a677f425bc75
1 { lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
3 stdenv.mkDerivation rec {
4   pname = "leatherman";
5   version = "1.12.8";
7   src = fetchFromGitHub {
8     sha256 = "sha256-5xcwktlwgP9Ltild4BliaGJBqlheDLSTKQLZjzK+nGk=";
9     rev = version;
10     repo = "leatherman";
11     owner = "puppetlabs";
12   };
14   cmakeFlags = [ "-DLEATHERMAN_ENABLE_TESTING=OFF" ];
16   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   };