2021-07-21 13:50:26 +02:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2010-06-05 21:23:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 13:50:26 +02:00
|
|
|
pname = "zsync";
|
|
|
|
version = "0.6.2";
|
2010-06-05 21:23:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 13:50:26 +02:00
|
|
|
url = "http://zsync.moria.org.uk/download/${pname}-${version}.tar.bz2";
|
2017-02-25 00:31:01 +01:00
|
|
|
sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
|
2010-06-05 21:23:57 +02:00
|
|
|
};
|
|
|
|
|
2019-08-02 10:12:43 +02:00
|
|
|
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
|
|
|
|
2021-07-21 13:50:26 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://zsync.moria.org.uk/";
|
2010-06-05 21:23:57 +02:00
|
|
|
description = "File distribution system using the rsync algorithm";
|
2021-07-21 13:50:26 +02:00
|
|
|
license = licenses.free;
|
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; all;
|
2010-06-05 21:23:57 +02:00
|
|
|
};
|
|
|
|
}
|