diff options
author | Luca Bruno <lethalman88@gmail.com> | 2015-04-16 17:58:31 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2015-04-16 17:59:33 +0200 |
commit | a0dcd49bbc7b4d665dbc3b003796215b2788aefc (patch) | |
tree | b77fcd45ce32de0a1112c6cdf6e51947a09d4999 /pkgs/development/libraries/librsync | |
parent | 87e6b3b862425841b2531aa460ca65637125703b (diff) |
btar: fix build by reintroducing librsync 0.9.x for ZHF
Diffstat (limited to 'pkgs/development/libraries/librsync')
-rw-r--r-- | pkgs/development/libraries/librsync/0.9.nix | 22 |
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 0000000000000..76daf7d748bf2 --- /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"; + }; +} |