2017-02-14 21:20:52 +00:00
|
|
|
{ stdenv, fetchurl } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-01-27 20:43:20 +00:00
|
|
|
version = "2.5.2";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "afio";
|
2017-02-14 21:20:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://members.chello.nl/~k.holtman/${pname}-${version}.tgz";
|
2019-01-27 20:43:20 +00:00
|
|
|
sha256 = "1fa29wlqv76hzf8bxp1qpza1r23pm2f3m7rcf0jpwm6z150s2k66";
|
2017-02-14 21:20:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* A patch to simplify the installation and for removing the
|
|
|
|
* hard coded dependency on GCC.
|
|
|
|
*/
|
2019-01-27 20:43:20 +00:00
|
|
|
patches = [ ./0001-makefile-fix-installation.patch ];
|
2017-02-14 21:20:52 +00:00
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
2017-02-14 21:20:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://members.chello.nl/~k.holtman/afio.html";
|
2017-02-14 21:20:52 +00:00
|
|
|
description = "Fault tolerant cpio archiver targeting backups";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
/*
|
|
|
|
* Licensing is complicated due to the age of the code base, but
|
|
|
|
* generally free. See the file ``afio_license_issues_v5.txt`` for
|
|
|
|
* a comprehensive discussion.
|
|
|
|
*/
|
|
|
|
license = stdenv.lib.licenses.free;
|
|
|
|
};
|
|
|
|
}
|