about summary refs log tree commit diff
path: root/pkgs/tools/compression
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-11-28 16:37:48 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-11-28 16:37:48 +0000
commitaa01c8abd6a53e61f091091677a474e8600f91d2 (patch)
tree6cb8bcd0ccc4fb640656502d1a78405e9a65bbd2 /pkgs/tools/compression
parentb01f33c2b8cd11cf3596fa07194b9d7201ebbb06 (diff)
downloadnixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.tar
nixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.tar.gz
nixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.tar.bz2
nixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.tar.lz
nixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.tar.xz
nixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.tar.zst
nixlib-aa01c8abd6a53e61f091091677a474e8600f91d2.zip
* Added xdelta.
svn path=/nixpkgs/trunk/; revision=24907
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r--pkgs/tools/compression/xdelta/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/compression/xdelta/default.nix b/pkgs/tools/compression/xdelta/default.nix
new file mode 100644
index 000000000000..c85c7366cda8
--- /dev/null
+++ b/pkgs/tools/compression/xdelta/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation {
+  name = "xdelta-3.0z";
+  
+  src = fetchurl {
+    url = http://xdelta.googlecode.com/files/xdelta3.0z.tar.gz;
+    sha256 = "1rpk4n3yz8x81vakzn3n75h79a2ycm06p5v72djklx0wn9gb412m";
+  };
+
+  installPhase =
+    ''
+      mkdir -p $out/bin
+      cp xdelta3 $out/bin/
+
+      mkdir -p $out/share/man/man1
+      cp xdelta3.1 $out/share/man/man1/
+    '';
+
+  meta = {
+    homepage = http://xdelta.org/;
+    description = "A binary diff tool that uses the VCDIFF (RFC 3284) format and compression";
+  };
+}