···19 </section>
20 <section xml:id="new-services">
21 <title>New Services</title>
22- <para>
23- </para>
000000024 </section>
25 <section xml:id="backward-incompatibilities">
26 <title>Backward Incompatibilities</title>
27- <itemizedlist spacing="compact">
28 <listitem>
29 <para>
30 The <literal>staticjinja</literal> package has been upgraded
31 from 1.0.4 to 2.0.0
000000032 </para>
33 </listitem>
34 </itemizedlist>
···19 </section>
20 <section xml:id="new-services">
21 <title>New Services</title>
22+ <itemizedlist spacing="compact">
23+ <listitem>
24+ <para>
25+ <link xlink:href="https://github.com/maxmind/geoipupdate">geoipupdate</link>,
26+ a GeoIP database updater from MaxMind. Available as
27+ <link xlink:href="options.html#opt-services.geoipupdate.enable">services.geoipupdate</link>.
28+ </para>
29+ </listitem>
30+ </itemizedlist>
31 </section>
32 <section xml:id="backward-incompatibilities">
33 <title>Backward Incompatibilities</title>
34+ <itemizedlist>
35 <listitem>
36 <para>
37 The <literal>staticjinja</literal> package has been upgraded
38 from 1.0.4 to 2.0.0
39+ </para>
40+ </listitem>
41+ <listitem>
42+ <para>
43+ <literal>services.geoip-updater</literal> was broken and has
44+ been replaced by
45+ <link xlink:href="options.html#opt-services.geoipupdate.enable">services.geoipupdate</link>.
46 </para>
47 </listitem>
48 </itemizedlist>
+7
nixos/doc/manual/release-notes/rl-2111.section.md
···89## New Services
10000011## Backward Incompatibilities
1213* The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0
0001415## Other Notable Changes
···89## New Services
1011+* [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP
12+ database updater from MaxMind. Available as
13+ [services.geoipupdate](options.html#opt-services.geoipupdate.enable).
14+15## Backward Incompatibilities
1617* The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0
18+19+* `services.geoip-updater` was broken and has been replaced by
20+ [services.geoipupdate](options.html#opt-services.geoipupdate.enable).
2122## Other Notable Changes
+7-1
nixos/lib/testing-python.nix
···130 {
131 virtualisation.qemu.package = qemu_pkg;
132 }
133- );
000000134 };
135136 # FIXME: get this pkg from the module system
···130 {
131 virtualisation.qemu.package = qemu_pkg;
132 }
133+ ) ++ [(
134+ {
135+ # Ensure we do not use aliases. Ideally this is only set
136+ # when the test framework is used by Nixpkgs NixOS tests.
137+ nixpkgs.config.allowAliases = false;
138+ }
139+ )];
140 };
141142 # FIXME: get this pkg from the module system
+1-1
nixos/modules/misc/ids.nix
···300 #pdns-recursor = 269; # dynamically allocated as of 2020-20-18
301 #kresd = 270; # switched to "knot-resolver" with dynamic ID
302 rpc = 271;
303- geoip = 272;
304 fcron = 273;
305 sonarr = 274;
306 radarr = 275;
···300 #pdns-recursor = 269; # dynamically allocated as of 2020-20-18
301 #kresd = 270; # switched to "knot-resolver" with dynamic ID
302 rpc = 271;
303+ #geoip = 272; # new module uses DynamicUser
304 fcron = 273;
305 sonarr = 274;
306 radarr = 275;
···20 python3Packages.setuptools-scm
21 ];
2223- # give a hint to setuptools_scm on package version
24 SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
2526 propagatedBuildInputs = with python3Packages; [
···20 python3Packages.setuptools-scm
21 ];
2223+ # give a hint to setuptools-scm on package version
24 SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
2526 propagatedBuildInputs = with python3Packages; [
···1{ stdenv, writeText, erlang, perl, which, gitMinimal, wget, lib }:
23-{ name, version
04, src
5, setupHook ? null
6-, buildInputs ? []
7-, beamDeps ? []
8, postPatch ? ""
9, compilePorts ? false
10, installPhase ? null
11, buildPhase ? null
12, configurePhase ? null
13-, meta ? {}
14, enableDebugInfo ? false
15-, buildFlags ? []
16-, ... }@attrs:
01718with lib;
19···21 debugInfoFlag = lib.optionalString (enableDebugInfo || erlang.debugInfo) "+debug_info";
2223 shell = drv: stdenv.mkDerivation {
24- name = "interactive-shell-${drv.name}";
25- buildInputs = [ drv ];
26- };
2728- pkg = self: stdenv.mkDerivation ( attrs // {
29 app_name = name;
30 name = "${name}-${version}";
31 inherit version;
···3435 inherit src;
3637- setupHook = if setupHook == null
38- then writeText "setupHook.sh" ''
39- addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
40- ''
41- else setupHook;
004243 buildInputs = buildInputs ++ [ erlang perl which gitMinimal wget ];
44 propagatedBuildInputs = beamDeps;
···47 ++ lib.optional (enableDebugInfo || erlang.debugInfo) ''ERL_OPTS="$ERL_OPTS +debug_info"''
48 ++ buildFlags;
4950- configurePhase = if configurePhase == null
51- then ''
52- runHook preConfigure
05354- # We shouldnt need to do this, but it seems at times there is a *.app in
55- # the repo/package. This ensures we start from a clean slate
56- make SKIP_DEPS=1 clean
5758- runHook postConfigure
59- ''
60- else configurePhase;
6162- buildPhase = if buildPhase == null
63- then ''
064 runHook preBuild
6566 make $buildFlags "''${buildFlagsArray[@]}"
6768 runHook postBuild
69- ''
70- else buildPhase;
7172- installPhase = if installPhase == null
73- then ''
074 runHook preInstall
7576 mkdir -p $out/lib/erlang/lib/${name}
···90 fi
9192 runHook postInstall
93- ''
94- else installPhase;
9596 passthru = {
97 packageName = name;
98 env = shell self;
99 inherit beamDeps;
100 };
101-});
102-in fix pkg
0
···1{ stdenv, writeText, erlang, perl, which, gitMinimal, wget, lib }:
23+{ name
4+, version
5, src
6, setupHook ? null
7+, buildInputs ? [ ]
8+, beamDeps ? [ ]
9, postPatch ? ""
10, compilePorts ? false
11, installPhase ? null
12, buildPhase ? null
13, configurePhase ? null
14+, meta ? { }
15, enableDebugInfo ? false
16+, buildFlags ? [ ]
17+, ...
18+}@attrs:
1920with lib;
21···23 debugInfoFlag = lib.optionalString (enableDebugInfo || erlang.debugInfo) "+debug_info";
2425 shell = drv: stdenv.mkDerivation {
26+ name = "interactive-shell-${drv.name}";
27+ buildInputs = [ drv ];
28+ };
2930+ pkg = self: stdenv.mkDerivation (attrs // {
31 app_name = name;
32 name = "${name}-${version}";
33 inherit version;
···3637 inherit src;
3839+ setupHook =
40+ if setupHook == null
41+ then
42+ writeText "setupHook.sh" ''
43+ addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
44+ ''
45+ else setupHook;
4647 buildInputs = buildInputs ++ [ erlang perl which gitMinimal wget ];
48 propagatedBuildInputs = beamDeps;
···51 ++ lib.optional (enableDebugInfo || erlang.debugInfo) ''ERL_OPTS="$ERL_OPTS +debug_info"''
52 ++ buildFlags;
5354+ configurePhase =
55+ if configurePhase == null
56+ then ''
57+ runHook preConfigure
5859+ # We shouldnt need to do this, but it seems at times there is a *.app in
60+ # the repo/package. This ensures we start from a clean slate
61+ make SKIP_DEPS=1 clean
6263+ runHook postConfigure
64+ ''
65+ else configurePhase;
6667+ buildPhase =
68+ if buildPhase == null
69+ then ''
70 runHook preBuild
7172 make $buildFlags "''${buildFlagsArray[@]}"
7374 runHook postBuild
75+ ''
76+ else buildPhase;
7778+ installPhase =
79+ if installPhase == null
80+ then ''
81 runHook preInstall
8283 mkdir -p $out/lib/erlang/lib/${name}
···97 fi
9899 runHook postInstall
100+ ''
101+ else installPhase;
102103 passthru = {
104 packageName = name;
105 env = shell self;
106 inherit beamDeps;
107 };
108+ });
109+in
110+fix pkg
+1-3
pkgs/development/beam-modules/build-mix.nix
···3536 # add to ERL_LIBS so other modules can find at runtime.
37 # http://erlang.org/doc/man/code.html#code-path
38- # Mix also searches the code path when compiling with the --no-deps-check
39- # flag, which is why there is no complicated booterstrapper like the one
40- # used by buildRebar3.
41 setupHook = attrs.setupHook or
42 writeText "setupHook.sh" ''
43 addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
···3536 # add to ERL_LIBS so other modules can find at runtime.
37 # http://erlang.org/doc/man/code.html#code-path
38+ # Mix also searches the code path when compiling with the --no-deps-check flag
0039 setupHook = attrs.setupHook or
40 writeText "setupHook.sh" ''
41 addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
···1{ stdenv, lib
2-, buildPythonPackage, fetchPypi, pythonOlder, setuptools_scm, pytestCheckHook
3, aiohttp
4, aiohttp-cors
5, appdirs
···25 sha256 = "1cdkrl5vw26iy7s23v2zpr39m6g5xsgxhfhagzzflgfbvdc56s93";
26 };
2728- nativeBuildInputs = [ setuptools_scm ];
2930 # Necessary for the tests to pass on Darwin with sandbox enabled.
31 # Black starts a local server and needs to bind a local address.
···1{ stdenv, lib
2+, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm, pytestCheckHook
3, aiohttp
4, aiohttp-cors
5, appdirs
···25 sha256 = "1cdkrl5vw26iy7s23v2zpr39m6g5xsgxhfhagzzflgfbvdc56s93";
26 };
2728+ nativeBuildInputs = [ setuptools-scm ];
2930 # Necessary for the tests to pass on Darwin with sandbox enabled.
31 # Black starts a local server and needs to bind a local address.
···39 "test_cmd_unknown-1_txt"
40 ];
4142- # give a hint to setuptools_scm on package version
43 SETUPTOOLS_SCM_PRETEND_VERSION="v${version}";
4445 meta = with lib; {
···39 "test_cmd_unknown-1_txt"
40 ];
4142+ # give a hint to setuptools-scm on package version
43 SETUPTOOLS_SCM_PRETEND_VERSION="v${version}";
4445 meta = with lib; {
+1-1
pkgs/development/python-modules/clvm/default.nix
···23 setuptools-scm
24 ];
2526- # give a hint to setuptools_scm on package version
27 SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
2829 propagatedBuildInputs = [
···23 setuptools-scm
24 ];
2526+ # give a hint to setuptools-scm on package version
27 SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
2829 propagatedBuildInputs = [
···1{ lib
2, fetchPypi
3, buildPythonPackage
4-, setuptools_scm
5}:
67buildPythonPackage rec {
···13 sha256 = "sha256-2qNQpILtWLVyREPGUUMhkem5ewyDdDh50JExccaigIU=";
14 };
1516- nativeBuildInputs = [ setuptools_scm ];
1718 # Disabling tests for now due to various (transitive) dependencies on modules
19 # from @smarie which are, as of yet, not part of nixpkgs. Also introduces
···1{ lib
2, fetchPypi
3, buildPythonPackage
4+, setuptools-scm
5}:
67buildPythonPackage rec {
···13 sha256 = "sha256-2qNQpILtWLVyREPGUUMhkem5ewyDdDh50JExccaigIU=";
14 };
1516+ nativeBuildInputs = [ setuptools-scm ];
1718 # Disabling tests for now due to various (transitive) dependencies on modules
19 # from @smarie which are, as of yet, not part of nixpkgs. Also introduces
···2, buildPythonPackage
3, fetchPypi
4, isPy27
5-, setuptools_scm
6}:
78buildPythonPackage rec {
···15 sha256 = "fbe6dfd66a1aceb7e0203895ff5622775e50266f8d8cfd841fe1500bd3e19018";
16 };
1718- nativeBuildInputs = [ setuptools_scm ];
19 # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
20 doCheck = false;
21
···2, buildPythonPackage
3, fetchPypi
4, isPy27
5+, setuptools-scm
6}:
78buildPythonPackage rec {
···15 sha256 = "fbe6dfd66a1aceb7e0203895ff5622775e50266f8d8cfd841fe1500bd3e19018";
16 };
1718+ nativeBuildInputs = [ setuptools-scm ];
19 # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
20 doCheck = false;
21
···1-{ lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools_scm }:
23buildPythonPackage rec {
4 pname = "ufonormalizer";
···12 extension = "zip";
13 };
1415- nativeBuildInputs = [ setuptools_scm ];
1617 meta = with lib; {
18 description = "Script to normalize the XML and other data inside of a UFO";
···1+{ lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm }:
23buildPythonPackage rec {
4 pname = "ufonormalizer";
···12 extension = "zip";
13 };
1415+ nativeBuildInputs = [ setuptools-scm ];
1617 meta = with lib; {
18 description = "Script to normalize the XML and other data inside of a UFO";
···340 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
341 joseki = apache-jena-fuseki; # added 2016-02-28
342 json_glib = json-glib; # added 2018-02-25
0343 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
344 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
345 kodiGBM = kodi-gbm;
···340 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
341 joseki = apache-jena-fuseki; # added 2016-02-28
342 json_glib = json-glib; # added 2018-02-25
343+ kalk = kalker; # added 2021-06-03
344 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
345 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
346 kodiGBM = kodi-gbm;