1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/tools/archivers/afio/default.nix
Keshav Kini 70b4e26403 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).
2020-05-02 13:39:19 -07:00

34 lines
881 B
Nix

{ stdenv, fetchFromGitHub } :
stdenv.mkDerivation rec {
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.
*/
patches = [ ./0001-makefile-fix-installation.patch ];
installFlags = [ "DESTDIR=$(out)" ];
meta = {
homepage = "https://github.com/kholtman/afio";
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;
};
}