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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
585 B
Nix
Raw Normal View History

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