2021-07-24 12:14:16 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-24 12:14:16 +00:00
|
|
|
pname = "zsync";
|
|
|
|
version = "0.6.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-24 12:14:16 +00:00
|
|
|
url = "http://zsync.moria.org.uk/download/${pname}-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://zsync.moria.org.uk/";
|
|
|
|
description = "File distribution system using the rsync algorithm";
|
2021-07-24 12:14:16 +00:00
|
|
|
license = licenses.free;
|
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|