From 4a6af291a3d13e6c2323accc67f1257a602c2c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 9 Dec 2011 21:15:41 +0000 Subject: [PATCH] Adding btar 0.9! svn path=/nixpkgs/trunk/; revision=30815 --- pkgs/tools/backup/btar/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/tools/backup/btar/default.nix diff --git a/pkgs/tools/backup/btar/default.nix b/pkgs/tools/backup/btar/default.nix new file mode 100644 index 000000000000..d7598fae38a5 --- /dev/null +++ b/pkgs/tools/backup/btar/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, librsync }: + +stdenv.mkDerivation rec { + name = "btar-0.9"; + src = fetchurl { + url = "http://vicerveza.homeunix.net/~viric/soft/btar/${name}.tar.gz"; + sha256 = "0w5cliw1n7syg67pqgljmi1f86w383ccw57h8p5h7cgsnabsbnq3"; + }; + + 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]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7218afc34e3d..e4bf5287b8b7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -468,6 +468,8 @@ let bzip2 = callPackage ../tools/compression/bzip2 { }; + btar = callPackage ../tools/backup/btar { }; + cabextract = callPackage ../tools/archivers/cabextract { }; ccid = callPackage ../tools/security/ccid { };