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