summary refs log tree commit diff
path: root/pkgs/tools/compression/zsync/default.nix
blob: 94921397e303701f6100e2637838fa9b847ed13f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{lib, stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "zsync-0.6.2";

  src = fetchurl {
    url = "http://zsync.moria.org.uk/download/${name}.tar.bz2";
    sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
  };

  makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];

  meta = {
    homepage = "http://zsync.moria.org.uk/";
    description = "File distribution system using the rsync algorithm";
    license = lib.licenses.free;
    maintainers = with lib.maintainers; [viric];
    platforms = with lib.platforms; all;
  };
}