zsync: cleanup
This commit is contained in:
parent
56d6f78a0d
commit
09f99feeba
|
@ -1,20 +1,21 @@
|
||||||
{lib, stdenv, fetchurl}:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zsync-0.6.2";
|
pname = "zsync";
|
||||||
|
version = "0.6.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://zsync.moria.org.uk/download/${name}.tar.bz2";
|
url = "http://zsync.moria.org.uk/download/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
|
sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "http://zsync.moria.org.uk/";
|
homepage = "http://zsync.moria.org.uk/";
|
||||||
description = "File distribution system using the rsync algorithm";
|
description = "File distribution system using the rsync algorithm";
|
||||||
license = lib.licenses.free;
|
license = licenses.free;
|
||||||
maintainers = with lib.maintainers; [viric];
|
maintainers = with maintainers; [ viric ];
|
||||||
platforms = with lib.platforms; all;
|
platforms = with platforms; all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue