afio: package has moved to GitHub

The old homepage and src URLs no longer exist.  The author of the package
confirms on GitHub that GitHub is now the official homepage (see
kholtman/afio#12).
This commit is contained in:
Keshav Kini 2020-05-02 13:36:21 -07:00
parent d6fcf36e47
commit 70b4e26403

View File

@ -1,12 +1,14 @@
{ stdenv, fetchurl } : { stdenv, fetchFromGitHub } :
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.5.2"; version = "2.5.2";
pname = "afio"; pname = "afio";
src = fetchurl { src = fetchFromGitHub {
url = "http://members.chello.nl/~k.holtman/${pname}-${version}.tgz"; owner = "kholtman";
sha256 = "1fa29wlqv76hzf8bxp1qpza1r23pm2f3m7rcf0jpwm6z150s2k66"; repo = "afio";
rev = "v${version}";
sha256 = "1vbxl66r5rp5a1qssjrkfsjqjjgld1cq57c871gd0m4qiq9rmcfy";
}; };
/* /*
@ -18,7 +20,7 @@ stdenv.mkDerivation rec {
installFlags = [ "DESTDIR=$(out)" ]; installFlags = [ "DESTDIR=$(out)" ];
meta = { meta = {
homepage = "http://members.chello.nl/~k.holtman/afio.html"; homepage = "https://github.com/kholtman/afio";
description = "Fault tolerant cpio archiver targeting backups"; description = "Fault tolerant cpio archiver targeting backups";
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
/* /*