diff --git a/pkgs/tools/compression/zsync/default.nix b/pkgs/tools/compression/zsync/default.nix new file mode 100644 index 00000000000..a657234e577 --- /dev/null +++ b/pkgs/tools/compression/zsync/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation rec { + name = "zsync-0.6.1"; + + src = fetchurl { + url = "http://zsync.moria.org.uk/download/${name}.tar.bz2"; + sha256 = "13rbq2m2d4c4qqzadr1cfzrryqxvjgafr8cmask9w2acc0zpv7v1"; + }; + + meta = { + homepage = http://zsync.moria.org.uk/; + description = "File distribution system using the rsync algorithm"; + license = "free"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5c4d24f9995..4eb79b9e360 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1942,6 +1942,9 @@ let inherit fetchurl stdenv; }; + zsync = import ../tools/compression/zsync { + inherit fetchurl stdenv; + }; ### SHELLS