summary refs log tree commit diff
path: root/pkgs/development/libraries/librsync
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/librsync')
-rw-r--r--pkgs/development/libraries/librsync/0.9.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/librsync/0.9.nix b/pkgs/development/libraries/librsync/0.9.nix
new file mode 100644
index 00000000000..76daf7d748b
--- /dev/null
+++ b/pkgs/development/libraries/librsync/0.9.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "librsync-0.9.7";
+  
+  src = fetchurl {
+    url = mirror://sourceforge/librsync/librsync-0.9.7.tar.gz;
+    sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6";
+  };
+
+  configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
+
+  crossAttrs = {
+    dontStrip = true;
+  };
+
+  meta = {
+    homepage = http://librsync.sourceforge.net/;
+    license = stdenv.lib.licenses.lgpl2Plus;
+    description = "Implementation of the rsync remote-delta algorithm";
+  };
+}