···1919 </section>
2020 <section xml:id="new-services">
2121 <title>New Services</title>
2222- <para>
2323- </para>
2222+ <itemizedlist spacing="compact">
2323+ <listitem>
2424+ <para>
2525+ <link xlink:href="https://github.com/maxmind/geoipupdate">geoipupdate</link>,
2626+ a GeoIP database updater from MaxMind. Available as
2727+ <link xlink:href="options.html#opt-services.geoipupdate.enable">services.geoipupdate</link>.
2828+ </para>
2929+ </listitem>
3030+ </itemizedlist>
2431 </section>
2532 <section xml:id="backward-incompatibilities">
2633 <title>Backward Incompatibilities</title>
2727- <itemizedlist spacing="compact">
3434+ <itemizedlist>
2835 <listitem>
2936 <para>
3037 The <literal>staticjinja</literal> package has been upgraded
3138 from 1.0.4 to 2.0.0
3939+ </para>
4040+ </listitem>
4141+ <listitem>
4242+ <para>
4343+ <literal>services.geoip-updater</literal> was broken and has
4444+ been replaced by
4545+ <link xlink:href="options.html#opt-services.geoipupdate.enable">services.geoipupdate</link>.
3246 </para>
3347 </listitem>
3448 </itemizedlist>
+7
nixos/doc/manual/release-notes/rl-2111.section.md
···8899## New Services
10101111+* [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP
1212+ database updater from MaxMind. Available as
1313+ [services.geoipupdate](options.html#opt-services.geoipupdate.enable).
1414+1115## Backward Incompatibilities
12161317* The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0
1818+1919+* `services.geoip-updater` was broken and has been replaced by
2020+ [services.geoipupdate](options.html#opt-services.geoipupdate.enable).
14211522## Other Notable Changes
+7-1
nixos/lib/testing-python.nix
···130130 {
131131 virtualisation.qemu.package = qemu_pkg;
132132 }
133133- );
133133+ ) ++ [(
134134+ {
135135+ # Ensure we do not use aliases. Ideally this is only set
136136+ # when the test framework is used by Nixpkgs NixOS tests.
137137+ nixpkgs.config.allowAliases = false;
138138+ }
139139+ )];
134140 };
135141136142 # FIXME: get this pkg from the module system
+1-1
nixos/modules/misc/ids.nix
···300300 #pdns-recursor = 269; # dynamically allocated as of 2020-20-18
301301 #kresd = 270; # switched to "knot-resolver" with dynamic ID
302302 rpc = 271;
303303- geoip = 272;
303303+ #geoip = 272; # new module uses DynamicUser
304304 fcron = 273;
305305 sonarr = 274;
306306 radarr = 275;
···2020 python3Packages.setuptools-scm
2121 ];
22222323- # give a hint to setuptools_scm on package version
2323+ # give a hint to setuptools-scm on package version
2424 SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
25252626 propagatedBuildInputs = with python3Packages; [
···11{ lib, stdenv, fetchFromGitHub, pkg-config, glib }:
2233-stdenv.mkDerivation rec {
33+stdenv.mkDerivation {
44 pname = "tiramisu";
55- version = "1.0";
55+ version = "unstable-2021-05-20";
6677 src = fetchFromGitHub {
88 owner = "Sweets";
99- repo = pname;
1010- rev = version;
1111- sha256 = "0aw17riwgrhsmcndzh7sw2zw8xvn3d203c2gcrqi9nk5pa7fwp9m";
99+ repo = "tiramisu";
1010+ rev = "e53833d0b5b0ae41ceb7dc434d8e25818fe62291";
1111+ sha256 = "sha256-F4oaTOAQQfOkEXeBVbGH+0CHc9v9Ac08GyzHliOdAfc=";
1212 };
13131414- postPatch = ''
1515- sed -i 's/printf(element_delimiter)/printf("%s", element_delimiter)/' src/output.c
1616- '';
1717-1814 buildInputs = [ glib ];
19152016 nativeBuildInputs = [ pkg-config ];
···2420 meta = with lib; {
2521 description = "Desktop notifications, the UNIX way";
2622 longDescription = ''
2727- tiramisu is a notification daemon based on dunst that outputs notifications
2828- to STDOUT in order to allow the user to process notifications any way they
2929- prefer.
2323+ tiramisu is a notification daemon based on dunst that outputs notifications
2424+ to STDOUT in order to allow the user to process notifications any way they
2525+ prefer.
3026 '';
3127 homepage = "https://github.com/Sweets/tiramisu";
3228 license = licenses.mit;
3329 platforms = platforms.linux;
3434- maintainers = with maintainers; [ wishfort36 ];
3030+ maintainers = with maintainers; [ wishfort36 fortuneteller2k ];
3531 };
3632}
···11{ stdenv, writeText, erlang, perl, which, gitMinimal, wget, lib }:
2233-{ name, version
33+{ name
44+, version
45, src
56, setupHook ? null
66-, buildInputs ? []
77-, beamDeps ? []
77+, buildInputs ? [ ]
88+, beamDeps ? [ ]
89, postPatch ? ""
910, compilePorts ? false
1011, installPhase ? null
1112, buildPhase ? null
1213, configurePhase ? null
1313-, meta ? {}
1414+, meta ? { }
1415, enableDebugInfo ? false
1515-, buildFlags ? []
1616-, ... }@attrs:
1616+, buildFlags ? [ ]
1717+, ...
1818+}@attrs:
17191820with lib;
1921···2123 debugInfoFlag = lib.optionalString (enableDebugInfo || erlang.debugInfo) "+debug_info";
22242325 shell = drv: stdenv.mkDerivation {
2424- name = "interactive-shell-${drv.name}";
2525- buildInputs = [ drv ];
2626- };
2626+ name = "interactive-shell-${drv.name}";
2727+ buildInputs = [ drv ];
2828+ };
27292828- pkg = self: stdenv.mkDerivation ( attrs // {
3030+ pkg = self: stdenv.mkDerivation (attrs // {
2931 app_name = name;
3032 name = "${name}-${version}";
3133 inherit version;
···34363537 inherit src;
36383737- setupHook = if setupHook == null
3838- then writeText "setupHook.sh" ''
3939- addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
4040- ''
4141- else setupHook;
3939+ setupHook =
4040+ if setupHook == null
4141+ then
4242+ writeText "setupHook.sh" ''
4343+ addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
4444+ ''
4545+ else setupHook;
42464347 buildInputs = buildInputs ++ [ erlang perl which gitMinimal wget ];
4448 propagatedBuildInputs = beamDeps;
···4751 ++ lib.optional (enableDebugInfo || erlang.debugInfo) ''ERL_OPTS="$ERL_OPTS +debug_info"''
4852 ++ buildFlags;
49535050- configurePhase = if configurePhase == null
5151- then ''
5252- runHook preConfigure
5454+ configurePhase =
5555+ if configurePhase == null
5656+ then ''
5757+ runHook preConfigure
53585454- # We shouldnt need to do this, but it seems at times there is a *.app in
5555- # the repo/package. This ensures we start from a clean slate
5656- make SKIP_DEPS=1 clean
5959+ # We shouldnt need to do this, but it seems at times there is a *.app in
6060+ # the repo/package. This ensures we start from a clean slate
6161+ make SKIP_DEPS=1 clean
57625858- runHook postConfigure
5959- ''
6060- else configurePhase;
6363+ runHook postConfigure
6464+ ''
6565+ else configurePhase;
61666262- buildPhase = if buildPhase == null
6363- then ''
6767+ buildPhase =
6868+ if buildPhase == null
6969+ then ''
6470 runHook preBuild
65716672 make $buildFlags "''${buildFlagsArray[@]}"
67736874 runHook postBuild
6969- ''
7070- else buildPhase;
7575+ ''
7676+ else buildPhase;
71777272- installPhase = if installPhase == null
7373- then ''
7878+ installPhase =
7979+ if installPhase == null
8080+ then ''
7481 runHook preInstall
75827683 mkdir -p $out/lib/erlang/lib/${name}
···9097 fi
91989299 runHook postInstall
9393- ''
9494- else installPhase;
100100+ ''
101101+ else installPhase;
9510296103 passthru = {
97104 packageName = name;
98105 env = shell self;
99106 inherit beamDeps;
100107 };
101101-});
102102-in fix pkg
108108+ });
109109+in
110110+fix pkg
+1-3
pkgs/development/beam-modules/build-mix.nix
···35353636 # add to ERL_LIBS so other modules can find at runtime.
3737 # http://erlang.org/doc/man/code.html#code-path
3838- # Mix also searches the code path when compiling with the --no-deps-check
3939- # flag, which is why there is no complicated booterstrapper like the one
4040- # used by buildRebar3.
3838+ # Mix also searches the code path when compiling with the --no-deps-check flag
4139 setupHook = attrs.setupHook or
4240 writeText "setupHook.sh" ''
4341 addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
···11{ stdenv, lib
22-, buildPythonPackage, fetchPypi, pythonOlder, setuptools_scm, pytestCheckHook
22+, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm, pytestCheckHook
33, aiohttp
44, aiohttp-cors
55, appdirs
···2525 sha256 = "1cdkrl5vw26iy7s23v2zpr39m6g5xsgxhfhagzzflgfbvdc56s93";
2626 };
27272828- nativeBuildInputs = [ setuptools_scm ];
2828+ nativeBuildInputs = [ setuptools-scm ];
29293030 # Necessary for the tests to pass on Darwin with sandbox enabled.
3131 # Black starts a local server and needs to bind a local address.
···3939 "test_cmd_unknown-1_txt"
4040 ];
41414242- # give a hint to setuptools_scm on package version
4242+ # give a hint to setuptools-scm on package version
4343 SETUPTOOLS_SCM_PRETEND_VERSION="v${version}";
44444545 meta = with lib; {
+1-1
pkgs/development/python-modules/clvm/default.nix
···2323 setuptools-scm
2424 ];
25252626- # give a hint to setuptools_scm on package version
2626+ # give a hint to setuptools-scm on package version
2727 SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
28282929 propagatedBuildInputs = [
···11{ lib
22, fetchPypi
33, buildPythonPackage
44-, setuptools_scm
44+, setuptools-scm
55}:
6677buildPythonPackage rec {
···1313 sha256 = "sha256-2qNQpILtWLVyREPGUUMhkem5ewyDdDh50JExccaigIU=";
1414 };
15151616- nativeBuildInputs = [ setuptools_scm ];
1616+ nativeBuildInputs = [ setuptools-scm ];
17171818 # Disabling tests for now due to various (transitive) dependencies on modules
1919 # from @smarie which are, as of yet, not part of nixpkgs. Also introduces
···340340 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
341341 joseki = apache-jena-fuseki; # added 2016-02-28
342342 json_glib = json-glib; # added 2018-02-25
343343+ kalk = kalker; # added 2021-06-03
343344 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
344345 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
345346 kodiGBM = kodi-gbm;