diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/leatherman')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/leatherman/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/leatherman/default.nix b/nixpkgs/pkgs/development/libraries/leatherman/default.nix new file mode 100644 index 000000000000..48735c13ed15 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/leatherman/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, boost, cmake, curl, ruby }: + +stdenv.mkDerivation rec { + pname = "leatherman"; + version = "1.10.0"; + + src = fetchFromGitHub { + sha256 = "1kvvqvr0djz4gb770rs5h97zqcymvbzrmsw8kz2icvlmcicm7qd8"; + rev = version; + repo = "leatherman"; + owner = "puppetlabs"; + }; + + NIX_CFLAGS_COMPILE = builtins.toString [ + "-Wno-error=ignored-qualifiers" + "-Wno-error=class-memaccess" + "-Wno-error=catch-value" + "-Wno-error=deprecated-copy" + ]; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ boost curl ruby ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + homepage = https://github.com/puppetlabs/leatherman/; + description = "A collection of C++ and CMake utility libraries"; + license = licenses.asl20; + maintainers = [ maintainers.womfoo ]; + platforms = platforms.linux; + }; + +} |