summary refs log tree commit diff
path: root/pkgs/tools/archivers/afio/default.nix
blob: e2fe3d90ee6cc2f54374db3908df22523c7061e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchurl } :

stdenv.mkDerivation rec {
  version = "2.5.2";
  pname = "afio";

  src = fetchurl {
    url = "http://members.chello.nl/~k.holtman/${pname}-${version}.tgz";
    sha256 = "1fa29wlqv76hzf8bxp1qpza1r23pm2f3m7rcf0jpwm6z150s2k66";
  };

  /*
   * 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 = "http://members.chello.nl/~k.holtman/afio.html";
    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;
  };
}