about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/leatherman
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/leatherman')
-rw-r--r--nixpkgs/pkgs/development/libraries/leatherman/default.nix26
1 files changed, 26 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..ad59674b3ed7
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/leatherman/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
+
+stdenv.mkDerivation rec {
+  name = "leatherman-${version}";
+  version = "1.5.4";
+
+  src = fetchFromGitHub {
+    sha256 = "08hd6j8w4mgnxj84y26vip1vgrg668jnil5jzq2dk4pfapigfz8l";
+    rev = version;
+    repo = "leatherman";
+    owner = "puppetlabs";
+  };
+
+  buildInputs = [ boost cmake 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;
+  };
+
+}