3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/archivers/afio/default.nix

34 lines
872 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchFromGitHub } :
stdenv.mkDerivation rec {
2019-01-27 20:43:20 +00:00
version = "2.5.2";
pname = "afio";
src = fetchFromGitHub {
owner = "kholtman";
repo = "afio";
rev = "v${version}";
sha256 = "1vbxl66r5rp5a1qssjrkfsjqjjgld1cq57c871gd0m4qiq9rmcfy";
};
/*
* 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 ];
2019-11-05 01:10:31 +00:00
installFlags = [ "DESTDIR=$(out)" ];
meta = {
homepage = "https://github.com/kholtman/afio";
description = "Fault tolerant cpio archiver targeting backups";
2021-01-15 09:19:50 +00:00
platforms = 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.
*/
2021-01-15 09:19:50 +00:00
license = lib.licenses.free;
};
}