···248 then v.__pretty v.val
249 else if v == {} then "{ }"
250 else if v ? type && v.type == "derivation" then
251- "<derivation ${v.drvPath}>"
252 else "{" + introSpace
253 + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
254 (name: value:
···248 then v.__pretty v.val
249 else if v == {} then "{ }"
250 else if v ? type && v.type == "derivation" then
251+ "<derivation ${v.drvPath or "???"}>"
252 else "{" + introSpace
253 + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
254 (name: value:
···1+{ lib, stdenvNoCC, fetchurl, makeWrapper, perl, installShellFiles }:
2+3+stdenvNoCC.mkDerivation rec {
4+ pname = "listadmin";
5+ version = "2.73";
6+7+ src = fetchurl {
8+ url = "mirror://sourceforge/project/listadmin/${version}/listadmin-${version}.tar.gz";
9+ sha256 = "00333d65ygdbm1hqr4yp2j8vh1cgh3hyfm7iy9y1alf0p0f6aqac";
10+ };
11+12+ buildInputs = [ perl ];
13+ nativeBuildInputs = [ makeWrapper installShellFiles ];
14+15+ # There is a Makefile, but we don’t need it, and it prints errors
16+ dontBuild = true;
17+18+ installPhase = ''
19+ mkdir -p $out/bin $out/share/man/man1
20+ install -m 755 listadmin.pl $out/bin/listadmin
21+ installManPage listadmin.1
22+23+ wrapProgram $out/bin/listadmin \
24+ --prefix PERL5LIB : "${with perl.pkgs; makeFullPerlPath [
25+ TextReform NetINET6Glue LWPProtocolhttps
26+ ]}"
27+ '';
28+29+ doInstallCheck = true;
30+ installCheckPhase = ''
31+ $out/bin/listadmin --help 2> /dev/null
32+ '';
33+34+ meta = with lib; {
35+ description = "Command line mailman moderator queue manipulation";
36+ longDescription = ''
37+ listadmin is a command line tool to manipulate the queues of messages
38+ held for moderator approval by mailman. It is designed to keep user
39+ interaction to a minimum, in theory you could run it from cron to prune
40+ the queue. It can use the score from a header added by SpamAssassin to
41+ filter, or it can match specific senders, subjects, or reasons.
42+ '';
43+ homepage = "https://sourceforge.net/projects/listadmin/";
44+ license = licenses.publicDomain;
45+ platforms = platforms.unix;
46+ maintainers = with maintainers; [ nomeata ];
47+ };
48+}
···23with python.pkgs;
4buildPythonApplication rec {
5- version = "0.3.9";
6 pname = "nbstripout";
78 # Mercurial should be added as a build input but because it's a Python
···1415 src = fetchPypi {
16 inherit pname version;
17- sha256 = "b46dddbf78b8b137176bc72729124e378242ef9ce93af63f6e0a8c4850c972e7";
18 };
1920 # for some reason, darwin uses /bin/sh echo native instead of echo binary, so
···23with python.pkgs;
4buildPythonApplication rec {
5+ version = "0.5.0";
6 pname = "nbstripout";
78 # Mercurial should be added as a build input but because it's a Python
···1415 src = fetchPypi {
16 inherit pname version;
17+ sha256 = "86ab50136998d62c9fa92478d2eb9ddc4137e51a28568f78fa8f24a6fbb6a7d8";
18 };
1920 # for some reason, darwin uses /bin/sh echo native instead of echo binary, so
···65 EOF
66 '';
6768+ # fixupPhase is moving the man to share/man which breaks it because it's a
69+ # relative symlink.
70+ postFixup = ''
71+ ln -nsf ../zulu-11.jdk/Contents/Home/man $out/share/man
72+ '';
73+74 passthru = {
75 home = jdk;
76 };
···473 mess = mame; # added 2019-10-30
474 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # added 2020-05-23
475 mcomix = throw "mcomix has been removed from nixpkgs, as it's unmaintained; try mcomix3 a Python 3 fork"; # added 2019-12-10, modified 2020-11-25
476- mirage = throw "mirage has been femoved from nixpkgs, as it's unmaintained"; # added 2019-12-10
00477 mopidy-gmusic = throw "mopidy-gmusic has been removed because Google Play Music was discontinued"; # added 2021-03-07
478 mopidy-local-images = throw "mopidy-local-images has been removed as it's unmaintained. It's functionality has been merged into the mopidy-local extension."; # added 2020-10-18
479 mopidy-local-sqlite = throw "mopidy-local-sqlite has been removed as it's unmaintained. It's functionality has been merged into the mopidy-local extension."; # added 2020-10-18
···473 mess = mame; # added 2019-10-30
474 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # added 2020-05-23
475 mcomix = throw "mcomix has been removed from nixpkgs, as it's unmaintained; try mcomix3 a Python 3 fork"; # added 2019-12-10, modified 2020-11-25
476+ mirage = throw "mirage has been removed from nixpkgs, as it's unmaintained"; # added 2019-12-10
477+ minergate = throw "minergate has been removed from nixpkgs, because the package is unmaintained and the site has a bad reputation"; # added 2021-08-13
478+ minergate-cli = throw "minergatecli has been removed from nixpkgs, because the package is unmaintained and the site has a bad reputation"; # added 2021-08-13
479 mopidy-gmusic = throw "mopidy-gmusic has been removed because Google Play Music was discontinued"; # added 2021-03-07
480 mopidy-local-images = throw "mopidy-local-images has been removed as it's unmaintained. It's functionality has been merged into the mopidy-local extension."; # added 2020-10-18
481 mopidy-local-sqlite = throw "mopidy-local-sqlite has been removed as it's unmaintained. It's functionality has been merged into the mopidy-local extension."; # added 2020-10-18