Merge pull request #86611 from kini/afio/update-urls

afio: package has moved to GitHub
This commit is contained in:
Benjamin Hipple 2020-05-03 00:35:48 -04:00 committed by GitHub
commit 17c827f69f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
/*