2014-02-01 00:05:37 +04:00
|
|
|
|
{ fetchurl, stdenv, zlib, bzip2, libgcrypt, gdbm, gperf, tdb, gnutls, db
|
2011-11-14 02:25:30 +04:00
|
|
|
|
, libuuid, lzo, pkgconfig, guile }:
|
2011-11-13 18:33:31 +04:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-03-02 01:39:43 +04:00
|
|
|
|
name = "libchop-0.5.2";
|
2011-11-13 18:33:31 +04:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-11-14 02:25:30 +04:00
|
|
|
|
url = "mirror://savannah/libchop/${name}.tar.gz";
|
2012-03-02 01:39:43 +04:00
|
|
|
|
sha256 = "0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g";
|
2011-11-13 18:33:31 +04:00
|
|
|
|
};
|
|
|
|
|
|
2013-03-02 14:12:03 +04:00
|
|
|
|
patches = [ ./gets-undeclared.patch ];
|
|
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
|
nativeBuildInputs = [ pkgconfig gperf ];
|
2013-03-07 22:33:52 +04:00
|
|
|
|
|
2011-11-14 02:25:30 +04:00
|
|
|
|
buildInputs =
|
|
|
|
|
[ zlib bzip2 lzo
|
|
|
|
|
libgcrypt
|
2014-02-01 00:05:37 +04:00
|
|
|
|
gdbm db tdb
|
2011-11-14 02:25:30 +04:00
|
|
|
|
gnutls libuuid
|
|
|
|
|
guile
|
|
|
|
|
];
|
2011-11-13 18:33:31 +04:00
|
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 18:21:08 +04:00
|
|
|
|
description = "Tools & library for data backup and distributed storage";
|
2011-11-14 02:25:30 +04:00
|
|
|
|
|
|
|
|
|
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 18:33:31 +04:00
|
|
|
|
|
|
|
|
|
homepage = http://nongnu.org/libchop/;
|
2014-06-19 08:19:00 +04:00
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2011-11-13 18:33:31 +04:00
|
|
|
|
|
2015-01-14 00:33:24 +03:00
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
2011-11-14 03:22:30 +04:00
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2011-11-13 18:33:31 +04:00
|
|
|
|
};
|
|
|
|
|
}
|