lol
1{ fetchurl, stdenv, zlib, bzip2, libgcrypt, gdbm, gperf, tdb, gnutls, db
2, libuuid, lzo, pkgconfig, guile }:
3
4stdenv.mkDerivation rec {
5 name = "libchop-0.5.2";
6
7 src = fetchurl {
8 url = "mirror://savannah/libchop/${name}.tar.gz";
9 sha256 = "0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g";
10 };
11
12 patches = [ ./gets-undeclared.patch ];
13
14 nativeBuildInputs = [ pkgconfig gperf ];
15
16 buildInputs =
17 [ zlib bzip2 lzo
18 libgcrypt
19 gdbm db tdb
20 gnutls libuuid
21 guile
22 ];
23
24 doCheck = true;
25
26 meta = {
27 description = "Tools & library for data backup and distributed storage";
28
29 longDescription =
30 '' Libchop is a set of utilities and library for data backup and
31 distributed storage. Its main application is chop-backup, an
32 encrypted backup program that supports data integrity checks,
33 versioning at little cost, distribution among several sites,
34 selective sharing of stored data, adaptive compression, and more.
35 The library itself, which chop-backup builds upon, implements
36 storage techniques such as content-based addressing, content hash
37 keys, Merkle trees, similarity detection, and lossless compression.
38 It makes it easy to combine them in different ways. The
39 ‘chop-archiver’ and ‘chop-block-server’ tools, illustrated in the
40 manual, provide direct access to these facilities from the command
41 line. It is written in C and has Guile (Scheme) bindings.
42 '';
43
44 homepage = http://nongnu.org/libchop/;
45 license = stdenv.lib.licenses.gpl3Plus;
46
47 maintainers = with stdenv.lib.maintainers; [ viric ];
48 platforms = stdenv.lib.platforms.gnu;
49 };
50}