nixpkgs/pkgs/tools/compression/zsync/default.nix

22 lines
585 B
Nix
Raw Normal View History

2021-07-21 11:50:26 +00:00
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
2021-07-21 11:50:26 +00:00
pname = "zsync";
version = "0.6.2";
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";
};
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; {
homepage = "http://zsync.moria.org.uk/";
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;
};
}