11 stdenv.mkDerivation rec {
16 url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz";
17 sha256 = "1zj0v82zqigcxhpc50mvafvi1ihs92ck35vjfrwb7wzzd7nysb17";
20 nativeBuildInputs = [ go redo-apenwarr ];
24 export GOCACHE=$PWD/.cache
25 export CFGPATH=/etc/nncp.hjson
26 export SENDMAIL=sendmail # default value for generated config file
27 redo ''${enableParallelBuilding:+-j''${NIX_BUILD_CORES}}
34 rm -f INSTALL # work around case insensitivity
39 enableParallelBuilding = true;
41 passthru.updateScript = genericUpdater {
42 inherit pname version;
43 versionLister = writeShellScript "nncp-versionLister" ''
44 echo "# Versions for $1:" >> "$2"
45 ${curl}/bin/curl -s http://www.nncpgo.org/Tarballs.html | ${perl}/bin/perl -lne 'print $1 if /Release.*>([0-9.]+)</'
50 description = "Secure UUCP-like store-and-forward exchanging";
52 This utilities are intended to help build up small size (dozens of
53 nodes) ad-hoc friend-to-friend (F2F) statically routed darknet
54 delay-tolerant networks for fire-and-forget secure reliable files,
55 file requests, Internet mail and commands transmission. All
56 packets are integrity checked, end-to-end encrypted, explicitly
57 authenticated by known participants public keys. Onion encryption
58 is applied to relayed packets. Each node acts both as a client and
59 server, can use push and poll behaviour model.
61 Out-of-box offline sneakernet/floppynet, dead drops, sequential
62 and append-only CD-ROM/tape storages, air-gapped computers
63 support. But online TCP daemon with full-duplex resumable data
66 homepage = "http://www.nncpgo.org/";
67 license = licenses.gpl3Only;
68 platforms = platforms.all;
69 maintainers = [ maintainers.woffs ];