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).
gstqt5
Keshav Kini 2020-05-02 13:36:21 -07:00
parent d6fcf36e47
commit 70b4e26403
1 changed files with 7 additions and 5 deletions

View File

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