7 stdenv.mkDerivation rec {
12 url = "http://tthsum.devs.nu/pkg/tthsum-${version}.tar.bz2";
13 sha256 = "0z6jq8lbg9rasv98kxfs56936dgpgzsg3yc9k52878qfw1l2bp59";
17 mkdir -p $out/bin $out/share/man/man1
18 cp share/tthsum.1.gz $out/share/man/man1
19 cp obj-unix/tthsum $out/bin
22 doCheck = !stdenv.hostPlatform.isDarwin;
25 broken = stdenv.hostPlatform.isDarwin;
26 description = "Md5sum-alike program that works with Tiger/THEX hashes";
28 tthsum generates or checks TTH checksums (root of the THEX hash
29 tree). The Merkle Hash Tree, invented by Ralph Merkle, is a hash
30 construct that exhibits desirable properties for verifying the
31 integrity of files and file subranges in an incremental or
32 out-of-order fashion. tthsum uses the Tiger hash algorithm for
33 both the internal and the leaf nodes.
35 The specification of the Tiger hash algorithm is at:
36 http://www.cs.technion.ac.il/~biham/Reports/Tiger/
38 The specification of the THEX algorithm is at:
39 http://adc.sourceforge.net/draft-jchapweske-thex-02.html
41 homepage = "http://tthsum.devs.nu/";
42 license = licenses.gpl3Plus;
43 maintainers = [ maintainers.ebzzry ];
44 platforms = platforms.unix;
45 mainProgram = "tthsum";