10 stdenvNoCC.mkDerivation rec {
15 url = "mirror://sourceforge/project/listadmin/${version}/listadmin-${version}.tar.gz";
16 sha256 = "00333d65ygdbm1hqr4yp2j8vh1cgh3hyfm7iy9y1alf0p0f6aqac";
19 buildInputs = [ perl ];
25 # There is a Makefile, but we don’t need it, and it prints errors
29 mkdir -p $out/bin $out/share/man/man1
30 install -m 755 listadmin.pl $out/bin/listadmin
31 installManPage listadmin.1
33 wrapProgram $out/bin/listadmin \
34 --prefix PERL5LIB : "${
44 doInstallCheck = true;
45 installCheckPhase = ''
46 $out/bin/listadmin --help 2> /dev/null
50 description = "Command line mailman moderator queue manipulation";
52 listadmin is a command line tool to manipulate the queues of messages
53 held for moderator approval by mailman. It is designed to keep user
54 interaction to a minimum, in theory you could run it from cron to prune
55 the queue. It can use the score from a header added by SpamAssassin to
56 filter, or it can match specific senders, subjects, or reasons.
58 homepage = "https://sourceforge.net/projects/listadmin/";
59 license = licenses.publicDomain;
60 platforms = platforms.unix;
61 maintainers = with maintainers; [ nomeata ];
62 mainProgram = "listadmin";