2011-11-13 22:25:30 +00:00
|
|
|
|
{ fetchurl, stdenv, zlib, bzip2, libgcrypt, gdbm, gperf, tdb, gnutls, db4
|
|
|
|
|
, libuuid, lzo, pkgconfig, guile }:
|
2011-11-13 14:33:31 +00:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-11-16 14:43:04 +00:00
|
|
|
|
name = "libchop-0.5.1";
|
2011-11-13 14:33:31 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-11-13 22:25:30 +00:00
|
|
|
|
url = "mirror://savannah/libchop/${name}.tar.gz";
|
2011-11-16 14:43:04 +00:00
|
|
|
|
sha256 = "1sfq4ibzc9fjmq7ga96k05lr77cyizxnipa3bzm5d22jwal1x3ib";
|
2011-11-13 14:33:31 +00:00
|
|
|
|
};
|
|
|
|
|
|
2011-11-13 22:25:30 +00:00
|
|
|
|
buildNativeInputs = [ pkgconfig gperf ];
|
|
|
|
|
buildInputs =
|
|
|
|
|
[ zlib bzip2 lzo
|
|
|
|
|
libgcrypt
|
|
|
|
|
gdbm db4 tdb
|
|
|
|
|
gnutls libuuid
|
|
|
|
|
guile
|
|
|
|
|
];
|
2011-11-13 14:33:31 +00:00
|
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
2011-11-13 22:25:30 +00:00
|
|
|
|
description = "libchop, tools & library for data backup and distributed storage";
|
|
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
|
'' Libchop is a set of utilities and library for data backup and
|
|
|
|
|
distributed storage. Its main application is chop-backup, an
|
|
|
|
|
encrypted backup program that supports data integrity checks,
|
|
|
|
|
versioning at little cost, distribution among several sites,
|
|
|
|
|
selective sharing of stored data, adaptive compression, and more.
|
|
|
|
|
The library itself, which chop-backup builds upon, implements
|
|
|
|
|
storage techniques such as content-based addressing, content hash
|
|
|
|
|
keys, Merkle trees, similarity detection, and lossless compression.
|
|
|
|
|
It makes it easy to combine them in different ways. The
|
|
|
|
|
‘chop-archiver’ and ‘chop-block-server’ tools, illustrated in the
|
|
|
|
|
manual, provide direct access to these facilities from the command
|
|
|
|
|
line. It is written in C and has Guile (Scheme) bindings.
|
|
|
|
|
'';
|
2011-11-13 14:33:31 +00:00
|
|
|
|
|
|
|
|
|
homepage = http://nongnu.org/libchop/;
|
|
|
|
|
license = "GPLv3+";
|
|
|
|
|
|
2011-11-13 22:25:30 +00:00
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ ludo viric ];
|
2011-11-13 23:22:30 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2011-11-13 14:33:31 +00:00
|
|
|
|
};
|
|
|
|
|
}
|