summary refs log tree commit diff
path: root/pkgs/tools/backup/btar/default.nix
blob: 528bb05bb0cb4a91c2d0d74eb271a65816f83c54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, librsync }:

stdenv.mkDerivation rec {
  name = "btar-1.1";
  src = fetchurl {
    url = "http://vicerveza.homeunix.net/~viric/soft/btar/${name}.tar.gz";
    sha256 = "17vkccv2b7mz1pj5zmnapjkx9aykzb6xf5wibwhn8da6kn7qwnnj";
  };

  buildInputs = [ librsync ];

  installPhase = "make install PREFIX=$out";

  meta = {
    description = "Tar-compatible block-based archiver";
    license = "GPLv3+";
    homepage = http://viric.name/cgi-bin/btar;
    platforms = with stdenv.lib.platforms; all;
    maintainers = with stdenv.lib.maintainers; [viric];
  };
}