21 stdenv.mkDerivation rec {
26 url = "mirror://savannah/libchop/libchop-${version}.tar.gz";
27 sha256 = "0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g";
31 ./gets-undeclared.patch
33 ./0001-Fix-RPC-compilation-when-using-libtirpc-rather-than-.patch
42 env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
43 NIX_LDFLAGS = [ "-ltirpc" ];
62 sed -re 's%@GUILE@%&/guile%' -i */Makefile.* Makefile.*
66 description = "Tools & library for data backup and distributed storage";
69 Libchop is a set of utilities and library for data backup and
70 distributed storage. Its main application is chop-backup, an
71 encrypted backup program that supports data integrity checks,
72 versioning at little cost, distribution among several sites,
73 selective sharing of stored data, adaptive compression, and more.
74 The library itself, which chop-backup builds upon, implements
75 storage techniques such as content-based addressing, content hash
76 keys, Merkle trees, similarity detection, and lossless compression.
77 It makes it easy to combine them in different ways. The
78 ‘chop-archiver’ and ‘chop-block-server’ tools, illustrated in the
79 manual, provide direct access to these facilities from the command
80 line. It is written in C and has Guile (Scheme) bindings.
83 homepage = "https://www.nongnu.org/libchop/";
84 license = licenses.gpl3Plus;
86 platforms = platforms.gnu ++ platforms.linux;