Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 770c1c3d e30f0f31

+190 -152
+8
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 17 <itemizedlist> 18 <listitem> 19 <para> 20 <literal>security.acme.defaults</literal> has been added to 21 simplify configuring settings for many certificates at once. 22 This also opens up the the option to use DNS-01 validation
··· 17 <itemizedlist> 18 <listitem> 19 <para> 20 + The <literal>firefox</literal> browser on 21 + <literal>x86_64-linux</literal> is now making use of 22 + profile-guided optimization resulting in a much more 23 + responsive browsing experience. 24 + </para> 25 + </listitem> 26 + <listitem> 27 + <para> 28 <literal>security.acme.defaults</literal> has been added to 29 simplify configuring settings for many certificates at once. 30 This also opens up the the option to use DNS-01 validation
+4
nixos/doc/manual/release-notes/rl-2205.section.md
··· 6 7 ## Highlights {#sec-release-22.05-highlights} 8 9 - `security.acme.defaults` has been added to simplify configuring 10 settings for many certificates at once. This also opens up the 11 the option to use DNS-01 validation when using `enableACME` on
··· 6 7 ## Highlights {#sec-release-22.05-highlights} 8 9 + - The `firefox` browser on `x86_64-linux` is now making use of 10 + profile-guided optimization resulting in a much more responsive 11 + browsing experience. 12 + 13 - `security.acme.defaults` has been added to simplify configuring 14 settings for many certificates at once. This also opens up the 15 the option to use DNS-01 validation when using `enableACME` on
+2 -2
nixos/modules/services/networking/powerdns.nix
··· 24 25 config = mkIf cfg.enable { 26 27 - systemd.packages = [ pkgs.powerdns ]; 28 29 systemd.services.pdns = { 30 wantedBy = [ "multi-user.target" ]; 31 after = [ "network.target" "mysql.service" "postgresql.service" "openldap.service" ]; 32 33 serviceConfig = { 34 - ExecStart = [ "" "${pkgs.powerdns}/bin/pdns_server --config-dir=${configDir} --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no" ]; 35 }; 36 }; 37
··· 24 25 config = mkIf cfg.enable { 26 27 + systemd.packages = [ pkgs.pdns ]; 28 29 systemd.services.pdns = { 30 wantedBy = [ "multi-user.target" ]; 31 after = [ "network.target" "mysql.service" "postgresql.service" "openldap.service" ]; 32 33 serviceConfig = { 34 + ExecStart = [ "" "${pkgs.pdns}/bin/pdns_server --config-dir=${configDir} --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no" ]; 35 }; 36 }; 37
+75 -10
pkgs/applications/networking/browsers/firefox/common.nix
··· 83 , gssSupport ? true, libkrb5 84 , jemallocSupport ? true, jemalloc 85 , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages 86 , pipewireSupport ? waylandSupport && webrtcSupport 87 , pulseaudioSupport ? stdenv.isLinux, libpulseaudio 88 , waylandSupport ? true, libxkbcommon, libdrm ··· 98 , googleAPISupport ? geolocationSupport 99 , webrtcSupport ? !privacySupport 100 101 ## other 102 103 , crashreporterSupport ? false 104 - , drmSupport ? false 105 , safeBrowsingSupport ? false 106 107 # As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at ··· 126 }: 127 128 assert stdenv.cc.libc or null != null; 129 - assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "pipewireSupport requires both wayland and webrtc support."; 130 131 let 132 flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")]; ··· 140 bootBintools = null; 141 }; 142 143 - buildStdenv = if ltoSupport 144 - # LTO requires LLVM bintools including ld.lld and llvm-ar. 145 - then overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { 146 - inherit (llvmPackages) bintools; 147 - }) 148 - else stdenv; 149 150 # Compile the wasm32 sysroot to build the RLBox Sandbox 151 # https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/ ··· 164 165 inherit src unpackPhase meta; 166 167 patches = [ 168 ] 169 ++ lib.optional (lib.versionAtLeast version "86") ./env_var_for_system_dir-ff86.patch ··· 199 which 200 wrapGAppsHook 201 ] 202 ++ extraNativeBuildInputs; 203 204 setOutputFlags = false; # `./mach configure` doesn't understand `--*dir=` flags. ··· 214 export MOZ_OBJDIR=$(pwd)/mozobj 215 export MOZBUILD_STATE_PATH=$(pwd)/mozbuild 216 217 # Set consistent remoting name to ensure wmclass matches with desktop file 218 export MOZ_APP_REMOTINGNAME="${binaryName}" 219 ··· 228 # RBox WASM Sandboxing 229 export WASM_CC=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}cc 230 export WASM_CXX=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}c++ 231 '' + lib.optionalString googleAPISupport '' 232 # Google API key used by Chromium and Firefox. 233 # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, ··· 258 "--with-system-webp" 259 "--with-system-zlib" 260 ] 261 - ++ lib.optional (!ltoSupport) "--with-clang-path=${llvmPackages.clang}/bin/clang" 262 # LTO is done using clang and lld on Linux. 263 ++ lib.optionals ltoSupport [ 264 "--enable-lto=cross" # Cross-Language LTO ··· 277 ++ flag gssSupport "negotiateauth" 278 ++ flag webrtcSupport "webrtc" 279 ++ flag crashreporterSupport "crashreporter" 280 - ++ lib.optional drmSupport "--enable-eme=widevine" 281 282 ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ] 283 else [ "--disable-debug" "--enable-optimize" ]) ··· 336 ++ lib.optional jemallocSupport jemalloc 337 ++ extraBuildInputs; 338 339 preBuild = '' 340 cd mozobj 341 ''; 342 343 makeFlags = extraMakeFlags; 344 separateDebugInfo = enableDebugSymbols; 345 enableParallelBuilding = true; 346 347 # tests were disabled in configureFlags 348 doCheck = false; 349 350 postInstall = lib.optionalString buildStdenv.isLinux '' 351 # Remove SDK cruft. FIXME: move to a separate output?
··· 83 , gssSupport ? true, libkrb5 84 , jemallocSupport ? true, jemalloc 85 , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages 86 + , pgoSupport ? (stdenv.isLinux && stdenv.isx86_64 && stdenv.hostPlatform == stdenv.buildPlatform), xvfb-run 87 , pipewireSupport ? waylandSupport && webrtcSupport 88 , pulseaudioSupport ? stdenv.isLinux, libpulseaudio 89 , waylandSupport ? true, libxkbcommon, libdrm ··· 99 , googleAPISupport ? geolocationSupport 100 , webrtcSupport ? !privacySupport 101 102 + # digital rights managemewnt 103 + 104 + # This flag controls whether Firefox will show the nagbar, that allows 105 + # users at runtime the choice to enable Widevine CDM support when a site 106 + # requests it. 107 + # Controlling the nagbar and widevine CDM at runtime is possible by setting 108 + # `browser.eme.ui.enabled` and `media.gmp-widevinecdm.enabled` accordingly 109 + , drmSupport ? true 110 + 111 ## other 112 113 , crashreporterSupport ? false 114 , safeBrowsingSupport ? false 115 116 # As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at ··· 135 }: 136 137 assert stdenv.cc.libc or null != null; 138 + assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "${pname}: pipewireSupport requires both wayland and webrtc support."; 139 140 let 141 flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")]; ··· 149 bootBintools = null; 150 }; 151 152 + # LTO requires LLVM bintools including ld.lld and llvm-ar. 153 + buildStdenv = overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { 154 + inherit (llvmPackages) bintools; 155 + }); 156 157 # Compile the wasm32 sysroot to build the RLBox Sandbox 158 # https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/ ··· 171 172 inherit src unpackPhase meta; 173 174 + # Add another configure-build-profiling run before the final configure phase if we build with pgo 175 + preConfigurePhases = lib.optionals pgoSupport [ 176 + "configurePhase" 177 + "buildPhase" 178 + "profilingPhase" 179 + ]; 180 + 181 patches = [ 182 ] 183 ++ lib.optional (lib.versionAtLeast version "86") ./env_var_for_system_dir-ff86.patch ··· 213 which 214 wrapGAppsHook 215 ] 216 + ++ lib.optionals pgoSupport [ xvfb-run ] 217 ++ extraNativeBuildInputs; 218 219 setOutputFlags = false; # `./mach configure` doesn't understand `--*dir=` flags. ··· 229 export MOZ_OBJDIR=$(pwd)/mozobj 230 export MOZBUILD_STATE_PATH=$(pwd)/mozbuild 231 232 + # Don't try to send libnotify notifications during build 233 + export MOZ_NOSPAM=1 234 + 235 # Set consistent remoting name to ensure wmclass matches with desktop file 236 export MOZ_APP_REMOTINGNAME="${binaryName}" 237 ··· 246 # RBox WASM Sandboxing 247 export WASM_CC=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}cc 248 export WASM_CXX=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}c++ 249 + '' + lib.optionalString pgoSupport '' 250 + if [ -e "$TMPDIR/merged.profdata" ]; then 251 + echo "Configuring with profiling data" 252 + for i in "''${!configureFlagsArray[@]}"; do 253 + if [[ ''${configureFlagsArray[i]} = "--enable-profile-generate=cross" ]]; then 254 + unset 'configureFlagsArray[i]' 255 + fi 256 + done 257 + configureFlagsArray+=( 258 + "--enable-profile-use=cross" 259 + "--with-pgo-profile-path="$TMPDIR/merged.profdata"" 260 + "--with-pgo-jarlog="$TMPDIR/jarlog"" 261 + ) 262 + else 263 + echo "Configuring to generate profiling data" 264 + configureFlagsArray+=( 265 + "--enable-profile-generate=cross" 266 + ) 267 + fi 268 '' + lib.optionalString googleAPISupport '' 269 # Google API key used by Chromium and Firefox. 270 # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, ··· 295 "--with-system-webp" 296 "--with-system-zlib" 297 ] 298 # LTO is done using clang and lld on Linux. 299 ++ lib.optionals ltoSupport [ 300 "--enable-lto=cross" # Cross-Language LTO ··· 313 ++ flag gssSupport "negotiateauth" 314 ++ flag webrtcSupport "webrtc" 315 ++ flag crashreporterSupport "crashreporter" 316 + ++ lib.optional (!drmSupport) "--disable-eme" 317 318 ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ] 319 else [ "--disable-debug" "--enable-optimize" ]) ··· 372 ++ lib.optional jemallocSupport jemalloc 373 ++ extraBuildInputs; 374 375 + profilingPhase = lib.optionalString pgoSupport '' 376 + # Package up Firefox for profiling 377 + ./mach package 378 + 379 + # Run profiling 380 + ( 381 + export HOME=$TMPDIR 382 + export LLVM_PROFDATA=llvm-profdata 383 + export JARLOG_FILE="$TMPDIR/jarlog" 384 + 385 + xvfb-run -w 10 -s "-screen 0 1920x1080x24" \ 386 + ./mach python ./build/pgo/profileserver.py 387 + ) 388 + 389 + # Copy profiling data to a place we can easily reference 390 + cp ./merged.profdata $TMPDIR/merged.profdata 391 + 392 + # Clean build dir 393 + ./mach clobber 394 + ''; 395 + 396 preBuild = '' 397 cd mozobj 398 ''; 399 400 + postBuild = '' 401 + cd .. 402 + ''; 403 + 404 makeFlags = extraMakeFlags; 405 separateDebugInfo = enableDebugSymbols; 406 enableParallelBuilding = true; 407 408 # tests were disabled in configureFlags 409 doCheck = false; 410 + 411 + preInstall = '' 412 + cd mozobj 413 + ''; 414 415 postInstall = lib.optionalString buildStdenv.isLinux '' 416 # Remove SDK cruft. FIXME: move to a separate output?
+1
pkgs/applications/networking/browsers/firefox/packages.nix
··· 78 }).override { 79 crashreporterSupport = false; 80 enableOfficialBranding = false; 81 }; 82 }
··· 78 }).override { 79 crashreporterSupport = false; 80 enableOfficialBranding = false; 81 + pgoSupport = false; # Profiling gets stuck and doesn't terminate. 82 }; 83 }
+3 -1
pkgs/applications/networking/mailreaders/thunderbird/packages.nix
··· 8 in 9 10 rec { 11 - thunderbird = common rec { 12 pname = "thunderbird"; 13 version = "91.7.0"; 14 application = "comm/mail"; ··· 35 updateScript = callPackage ./update.nix { 36 attrPath = "thunderbird-unwrapped"; 37 }; 38 }; 39 }
··· 8 in 9 10 rec { 11 + thunderbird = (common rec { 12 pname = "thunderbird"; 13 version = "91.7.0"; 14 application = "comm/mail"; ··· 35 updateScript = callPackage ./update.nix { 36 attrPath = "thunderbird-unwrapped"; 37 }; 38 + }).override { 39 + pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable" 40 }; 41 }
+1 -1
pkgs/desktops/gnome/extensions/default.nix
··· 60 gnome41Extensions = mapUuidNames (produceExtensionsList "41"); 61 gnome42Extensions = mapUuidNames (produceExtensionsList "42"); 62 63 - gnomeExtensions = lib.trivial.pipe (gnome41Extensions // gnome42Extensions) [ 64 # Apply some custom patches for automatically packaged extensions 65 (callPackage ./extensionOverrides.nix {}) 66 # Add all manually packaged extensions
··· 60 gnome41Extensions = mapUuidNames (produceExtensionsList "41"); 61 gnome42Extensions = mapUuidNames (produceExtensionsList "42"); 62 63 + gnomeExtensions = lib.trivial.pipe (gnome40Extensions // gnome41Extensions // gnome42Extensions) [ 64 # Apply some custom patches for automatically packaged extensions 65 (callPackage ./extensionOverrides.nix {}) 66 # Add all manually packaged extensions
+2 -2
pkgs/development/libraries/robin-map/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "robin-map"; 8 - version = "0.6.3"; 9 10 src = fetchFromGitHub { 11 owner = "Tessil"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "1li70vwsksva9c4yly90hjafgqfixi1g6d52qq9p6r60vqc4pkjj"; 15 }; 16 17 nativeBuildInputs = [ cmake ];
··· 5 6 stdenv.mkDerivation rec { 7 pname = "robin-map"; 8 + version = "1.0.0"; 9 10 src = fetchFromGitHub { 11 owner = "Tessil"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-h59khOUg7vzw64EAMT/uzTKHzx2M9q+pc2BhfGQiY3Q="; 15 }; 16 17 nativeBuildInputs = [ cmake ];
-69
pkgs/development/ocaml-modules/bolt/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, which, camlp4 }: 2 - 3 - let inherit (lib) getVersion versionAtLeast; in 4 - 5 - assert versionAtLeast (getVersion ocaml) "4.00.0"; 6 - assert versionAtLeast (getVersion findlib) "1.3.3"; 7 - 8 - if versionAtLeast ocaml.version "4.06" 9 - then throw "bolt is not available for OCaml ${ocaml.version}" 10 - else 11 - 12 - stdenv.mkDerivation rec { 13 - pname = "bolt"; 14 - version = "1.4"; 15 - 16 - src = fetchurl { 17 - url = "https://forge.ocamlcore.org/frs/download.php/1043/bolt-${version}.tar.gz"; 18 - sha256 = "1c807wrpxra9sbb34lajhimwra28ldxv04m570567lh2b04n38zy"; 19 - }; 20 - 21 - nativeBuildInputs = [ ocaml findlib ocamlbuild which camlp4 ]; 22 - 23 - strictDeps = true; 24 - 25 - patches = [ 26 - (fetchpatch { 27 - url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/bolt/bolt.1.4/files/opam.patch"; 28 - sha256 = "08cl39r98w312sw23cskd5wian6zg20isn9ki41hnbcgkazhi7pb"; 29 - }) 30 - ]; 31 - 32 - postPatch = '' 33 - patch myocamlbuild.ml <<EOF 34 - 70,74c70 35 - < let camlp4of = 36 - < try 37 - < let path_bin = Filename.concat (Sys.getenv "PATH_OCAML_PREFIX") "bin" in 38 - < Filename.concat path_bin "camlp4of" 39 - < with _ -> "camlp4of" in 40 - --- 41 - > let camlp4of = "camlp4of" in 42 - EOF 43 - ''; 44 - 45 - # The custom `configure` script does not expect the --prefix 46 - # option. Installation is handled by ocamlfind. 47 - dontAddPrefix = true; 48 - dontAddStaticConfigureFlags = true; 49 - configurePlatforms = [ ]; 50 - 51 - createFindlibDestdir = true; 52 - 53 - buildFlags = [ "all" ]; 54 - 55 - doCheck = true; 56 - checkTarget = "tests"; 57 - 58 - meta = with lib; { 59 - homepage = "http://bolt.x9c.fr"; 60 - description = "A logging tool for the OCaml language"; 61 - longDescription = '' 62 - Bolt is a logging tool for the OCaml language. It is inspired by and 63 - modeled after the famous log4j logging framework for Java. 64 - ''; 65 - license = licenses.lgpl3; 66 - platforms = ocaml.meta.platforms or [ ]; 67 - maintainers = [ maintainers.jirkamarsik ]; 68 - }; 69 - }
···
+7
pkgs/development/ocaml-modules/janestreet/0.14.nix
··· 241 doCheck = false; # we don't have quickcheck_deprecated 242 }; 243 244 csvfields = janePackage { 245 pname = "csvfields"; 246 hash = "09jmz6y6nwd96dcx6g8ydicxssi72v1ks276phbc9n19wwg9hkaz";
··· 241 doCheck = false; # we don't have quickcheck_deprecated 242 }; 243 244 + core_unix = janePackage { 245 + pname = "core_unix"; 246 + hash = "0irfmpx6iksxk2r8mdizjn75h71qh4p2f1s9x2ggckzqj9y904ck"; 247 + meta.description = "Unix-specific portions of Core"; 248 + propagatedBuildInputs = [ core ]; 249 + }; 250 + 251 csvfields = janePackage { 252 pname = "csvfields"; 253 hash = "09jmz6y6nwd96dcx6g8ydicxssi72v1ks276phbc9n19wwg9hkaz";
+1 -1
pkgs/development/ocaml-modules/ocplib-endian/default.nix
··· 11 sha256 = "sha256-THTlhOfXAPaqTt1qBkht+D67bw6M175QLvXoUMgjks4="; 12 }; 13 14 - useDune2 = true; 15 16 nativeBuildInputs = [ cppo ]; 17
··· 11 sha256 = "sha256-THTlhOfXAPaqTt1qBkht+D67bw6M175QLvXoUMgjks4="; 12 }; 13 14 + minimalOCamlVersion = "4.03"; 15 16 nativeBuildInputs = [ cppo ]; 17
+4 -1
pkgs/development/ocaml-modules/uutf/default.nix
··· 3 pname = "uutf"; 4 in 5 6 stdenv.mkDerivation rec { 7 name = "ocaml${ocaml.version}-${pname}-${version}"; 8 version = "1.0.3"; ··· 23 meta = with lib; { 24 description = "Non-blocking streaming Unicode codec for OCaml"; 25 homepage = "https://erratique.ch/software/uutf"; 26 - platforms = ocaml.meta.platforms or []; 27 license = licenses.bsd3; 28 maintainers = [ maintainers.vbgl ]; 29 };
··· 3 pname = "uutf"; 4 in 5 6 + lib.throwIfNot (lib.versionAtLeast ocaml.version "4.03") 7 + "${pname} is not available with OCaml ${ocaml.version}" 8 + 9 stdenv.mkDerivation rec { 10 name = "ocaml${ocaml.version}-${pname}-${version}"; 11 version = "1.0.3"; ··· 26 meta = with lib; { 27 description = "Non-blocking streaming Unicode codec for OCaml"; 28 homepage = "https://erratique.ch/software/uutf"; 29 + inherit (ocaml.meta) platforms; 30 license = licenses.bsd3; 31 maintainers = [ maintainers.vbgl ]; 32 };
+1 -1
pkgs/development/ocaml-modules/wasm/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }: 2 3 - if !lib.versionAtLeast ocaml.version "4.02" 4 || lib.versionOlder "4.13" ocaml.version 5 then throw "wasm is not available for OCaml ${ocaml.version}" 6 else
··· 1 { stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }: 2 3 + if !lib.versionAtLeast ocaml.version "4.03" 4 || lib.versionOlder "4.13" ocaml.version 5 then throw "wasm is not available for OCaml ${ocaml.version}" 6 else
+2 -2
pkgs/development/python-modules/aioairzone/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "aioairzone"; 10 - version = "0.1.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 16 owner = "Noltari"; 17 repo = pname; 18 rev = version; 19 - hash = "sha256-8OpC/w83us85NWpRXXLsWsLNiPG3v+8BHAToADdLaP4="; 20 }; 21 22 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "aioairzone"; 10 + version = "0.2.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 16 owner = "Noltari"; 17 repo = pname; 18 rev = version; 19 + hash = "sha256-jMmPACC8eVDYqBI2642R/ChKFObmK+yWRzRBQUmi1C0="; 20 }; 21 22 propagatedBuildInputs = [
+9 -4
pkgs/development/python-modules/aiogithubapi/default.nix
··· 5 , backoff 6 , buildPythonPackage 7 , fetchFromGitHub 8 , pytest-asyncio 9 , pytestCheckHook 10 , pythonOlder ··· 12 13 buildPythonPackage rec { 14 pname = "aiogithubapi"; 15 - version = "22.2.4"; 16 - format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 ··· 21 owner = "ludeeus"; 22 repo = pname; 23 rev = version; 24 - sha256 = "sha256-2RYpeyX88+eEilK/wLDJ6Ock1JBgIUPWbm/ZBJSQ2pg="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 async-timeout ··· 39 postPatch = '' 40 # Upstream is releasing with the help of a CI to PyPI, GitHub releases 41 # are not in their focus 42 - substituteInPlace setup.py \ 43 --replace 'version="main",' 'version="${version}",' 44 ''; 45
··· 5 , backoff 6 , buildPythonPackage 7 , fetchFromGitHub 8 + , poetry-core 9 , pytest-asyncio 10 , pytestCheckHook 11 , pythonOlder ··· 13 14 buildPythonPackage rec { 15 pname = "aiogithubapi"; 16 + version = "22.3.1"; 17 + format = "pyproject"; 18 19 disabled = pythonOlder "3.8"; 20 ··· 22 owner = "ludeeus"; 23 repo = pname; 24 rev = version; 25 + hash = "sha256-5gKANZtDhIoyfyLdS15JDWTxHBFkaHDUlbVVhRs7MSE="; 26 }; 27 28 + nativeBuildInputs = [ 29 + poetry-core 30 + ]; 31 + 32 propagatedBuildInputs = [ 33 aiohttp 34 async-timeout ··· 44 postPatch = '' 45 # Upstream is releasing with the help of a CI to PyPI, GitHub releases 46 # are not in their focus 47 + substituteInPlace pyproject.toml \ 48 --replace 'version="main",' 'version="${version}",' 49 ''; 50
+2 -2
pkgs/development/python-modules/aiowebostv/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "aiowebostv"; 10 - version = "0.1.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 16 owner = "home-assistant-libs"; 17 repo = pname; 18 rev = "v${version}"; 19 - hash = "sha256-UKDcIo0jhI84WDcSK3fciRqzKjHwbZXkqHjdo7Xt4iE="; 20 }; 21 22 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "aiowebostv"; 10 + version = "0.2.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 16 owner = "home-assistant-libs"; 17 repo = pname; 18 rev = "v${version}"; 19 + hash = "sha256-A7GiAQIuEXmCfo2pDJESCdAEaLumi1ACXnBMdGKwSvE="; 20 }; 21 22 propagatedBuildInputs = [
+7 -4
pkgs/development/python-modules/asyncstdlib/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "asyncstdlib"; 11 - version = "3.10.3"; 12 disabled = pythonOlder "3.7"; 13 - format = "flit"; 14 15 src = fetchFromGitHub { 16 owner = "maxfischer2781"; 17 repo = pname; 18 rev = "v${version}"; 19 - sha256 = "sha256-Q547XKsn4/U7XbDhZADF4qPpFxAGPmv9bAXSQZnNUIo="; 20 }; 21 22 propagatedBuildInputs = [ ··· 27 pytestCheckHook 28 ]; 29 30 - pythonImportsCheck = [ "asyncstdlib" ]; 31 32 meta = with lib; { 33 description = "Python library that extends the Python asyncio standard library";
··· 8 9 buildPythonPackage rec { 10 pname = "asyncstdlib"; 11 + version = "3.10.4"; 12 + format = "flit"; 13 + 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "maxfischer2781"; 18 repo = pname; 19 rev = "v${version}"; 20 + hash = "sha256-zPWXI5iHMCkSVjyNRcXplTadobYCeMv3Unjt+QVF8D8="; 21 }; 22 23 propagatedBuildInputs = [ ··· 28 pytestCheckHook 29 ]; 30 31 + pythonImportsCheck = [ 32 + "asyncstdlib" 33 + ]; 34 35 meta = with lib; { 36 description = "Python library that extends the Python asyncio standard library";
+7 -5
pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix
··· 3 , fetchPypi 4 , azure-common 5 , azure-mgmt-core 6 - , azure-mgmt-nspkg 7 , msrestazure 8 }: 9 10 buildPythonPackage rec { 11 pname = "azure-mgmt-cognitiveservices"; 12 - version = "13.0.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 extension = "zip"; 17 - sha256 = "dc6116e8394d45312c7ad5a9098ce0dd2370bd92d43afd33d8b3bfab724fa498"; 18 }; 19 20 propagatedBuildInputs = [ 21 msrestazure 22 azure-common 23 azure-mgmt-core 24 - azure-mgmt-nspkg 25 ]; 26 27 - # has no tests 28 doCheck = false; 29 30 meta = with lib; {
··· 3 , fetchPypi 4 , azure-common 5 , azure-mgmt-core 6 , msrestazure 7 + , pythonOlder 8 }: 9 10 buildPythonPackage rec { 11 pname = "azure-mgmt-cognitiveservices"; 12 + version = "13.1.0"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 + hash = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4="; 21 }; 22 23 propagatedBuildInputs = [ 24 msrestazure 25 azure-common 26 azure-mgmt-core 27 ]; 28 29 + # Module has no tests 30 doCheck = false; 31 32 meta = with lib; {
+6 -4
pkgs/development/python-modules/azure-mgmt-signalr/default.nix
··· 5 , msrestazure 6 , azure-common 7 , azure-mgmt-core 8 - , azure-mgmt-nspkg 9 }: 10 11 buildPythonPackage rec { 12 pname = "azure-mgmt-signalr"; 13 - version = "1.0.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 - sha256 = "43fe90b5c5eb5aa00afcaf2895f1d4417f89ddb7f76bd61204e1253a6767ef7c"; 19 }; 20 21 propagatedBuildInputs = [ ··· 23 msrestazure 24 azure-common 25 azure-mgmt-core 26 - azure-mgmt-nspkg 27 ]; 28 29 # has no tests
··· 5 , msrestazure 6 , azure-common 7 , azure-mgmt-core 8 + , pythonOlder 9 }: 10 11 buildPythonPackage rec { 12 pname = "azure-mgmt-signalr"; 13 + version = "1.1.0"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 + hash = "sha256-lUNIDyP5W+8aIX7manfMqaO2IJJm/+2O+Buv+Bh4EZE="; 22 }; 23 24 propagatedBuildInputs = [ ··· 26 msrestazure 27 azure-common 28 azure-mgmt-core 29 ]; 30 31 # has no tests
+2 -2
pkgs/development/python-modules/elastic-apm/default.nix
··· 28 29 buildPythonPackage rec { 30 pname = "elastic-apm"; 31 - version = "6.8.0"; 32 format = "setuptools"; 33 34 disabled = pythonOlder "3.8"; ··· 37 owner = "elastic"; 38 repo = "apm-agent-python"; 39 rev = "v${version}"; 40 - sha256 = "sha256-5G+ALFDEClItXvSQFGari0QdhW+RGV8FukxUoxqphFg="; 41 }; 42 43 propagatedBuildInputs = [
··· 28 29 buildPythonPackage rec { 30 pname = "elastic-apm"; 31 + version = "6.8.1"; 32 format = "setuptools"; 33 34 disabled = pythonOlder "3.8"; ··· 37 owner = "elastic"; 38 repo = "apm-agent-python"; 39 rev = "v${version}"; 40 + sha256 = "sha256-bH7XCk1jPsGalFQ68rQhSyZv9nCZE+xUJyWX828PQQI="; 41 }; 42 43 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-vision/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-vision"; 15 - version = "2.7.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-Ty80C73K3/TebsdSHinmp2y8TKgOftqT5PIDafq1GgM="; 23 }; 24 25 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-vision"; 15 + version = "2.7.2"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-4NTWyf3rndw1zHINlBMtoEmdfSXGnU/jEhxab807Vg4="; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 - version = "0.38.5"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = version; 26 - sha256 = "sha256-RzTRRWHmdEjDQM/x4pX1gy7mIJD3K2hjQRAkz53xL50="; 27 }; 28 29 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 + version = "1.0.0"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = version; 26 + sha256 = "sha256-neYFYzBNx/Rm3PWCsQ5ooisU3Z+kJO+O+KNpbwSsUB4="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mcstatus/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "mcstatus"; 16 - version = "9.0.2"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "py-mine"; 23 repo = pname; 24 rev = "v${version}"; 25 - hash = "sha256-+wSBdsTI+vyCLvf+0R6oeWnUc123uLMyjQcp/zUYDOQ="; 26 }; 27 28 nativeBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "mcstatus"; 16 + version = "9.0.3"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "py-mine"; 23 repo = pname; 24 rev = "v${version}"; 25 + hash = "sha256-ckT3eSjOgIG2/Ci9Ig6QLCrO9iMF9VyZNJy9KfHUg4A="; 26 }; 27 28 nativeBuildInputs = [
+5
pkgs/development/python-modules/metar/default.nix
··· 22 url = "https://github.com/python-metar/python-metar/commit/716fa76682e6c2936643d1cf62e3d302ef29aedd.patch"; 23 hash = "sha256-y82NN+KDryOiH+eG+2ycXCO9lqQLsah4+YpGn6lM2As="; 24 }) 25 ]; 26 27 checkInputs = [ pytestCheckHook ];
··· 22 url = "https://github.com/python-metar/python-metar/commit/716fa76682e6c2936643d1cf62e3d302ef29aedd.patch"; 23 hash = "sha256-y82NN+KDryOiH+eG+2ycXCO9lqQLsah4+YpGn6lM2As="; 24 }) 25 + (fetchpatch { 26 + # Fix failing test: https://github.com/python-metar/python-metar/issues/165 27 + url = "https://github.com/python-metar/python-metar/commit/a4f9a4764b99bb0313876366d30728169db2770b.patch"; 28 + hash = "sha256-sURHUb4gCKVMqEWFklTsxF0kr0SxC02Yr0287rZIvC0="; 29 + }) 30 ]; 31 32 checkInputs = [ pytestCheckHook ];
+20 -15
pkgs/development/python-modules/minidb/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy3k 2 - , nose 3 - , pytest 4 }: 5 6 buildPythonPackage rec { 7 pname = "minidb"; 8 - version = "2.0.5"; 9 - disabled = !isPy3k; 10 11 src = fetchFromGitHub { 12 owner = "thp"; 13 repo = "minidb"; 14 rev = version; 15 - sha256 = "sha256-aUXsp0E89OxCgTaz7MpKmqTHZfnjDcyHa8Ckzof9rfg="; 16 }; 17 18 - # module imports are incompatible with python2 19 - doCheck = isPy3k; 20 - checkInputs = [ nose pytest ]; 21 - checkPhase = '' 22 - pytest 23 - ''; 24 25 meta = with lib; { 26 - description = "A simple SQLite3-based store for Python objects"; 27 homepage = "https://thp.io/2010/minidb/"; 28 license = licenses.isc; 29 - maintainers = [ maintainers.tv ]; 30 }; 31 - 32 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "minidb"; 10 + version = "2.0.6"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "thp"; 17 repo = "minidb"; 18 rev = version; 19 + hash = "sha256-H7W+GBapT9uJgbPlARp4ZLKTN7hZlF/FbNo7rObqDM4="; 20 }; 21 22 + checkInputs = [ 23 + pytestCheckHook 24 + ]; 25 + 26 + pythonImportsCheck = [ 27 + "minidb" 28 + ]; 29 30 meta = with lib; { 31 + description = "SQLite3-based store for Python objects"; 32 homepage = "https://thp.io/2010/minidb/"; 33 license = licenses.isc; 34 + maintainers = with maintainers; [ tv ]; 35 }; 36 } 37 +
+2 -2
pkgs/development/python-modules/ormar/default.nix
··· 24 25 buildPythonPackage rec { 26 pname = "ormar"; 27 - version = "0.10.25"; 28 format = "pyproject"; 29 30 disabled = pythonOlder "3.7"; ··· 33 owner = "collerek"; 34 repo = pname; 35 rev = version; 36 - hash = "sha256-AggrsXw9fUYfc38AiSDSoh7SIEf4gPf+LlAvrxZiFL4="; 37 }; 38 39 nativeBuildInputs = [
··· 24 25 buildPythonPackage rec { 26 pname = "ormar"; 27 + version = "0.11.0"; 28 format = "pyproject"; 29 30 disabled = pythonOlder "3.7"; ··· 33 owner = "collerek"; 34 repo = pname; 35 rev = version; 36 + hash = "sha256-I41asBWwOwmi6Yhw/JZ/EcpDWMAoPyxPIGIPiZQV+Yk="; 37 }; 38 39 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pyoverkiz/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "pyoverkiz"; 18 - version = "1.3.10"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "iMicknl"; 25 repo = "python-overkiz-api"; 26 rev = "v${version}"; 27 - hash = "sha256-XvQDCCxqqY902cpn7Ee48XOvbjBhs0UsJH/b4skjazE="; 28 }; 29 30 nativeBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "pyoverkiz"; 18 + version = "1.3.12"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "iMicknl"; 25 repo = "python-overkiz-api"; 26 rev = "v${version}"; 27 + hash = "sha256-guL//OHiwlKN55kyoRPIUXuoHOVrho+vSgeV3SAdfNM="; 28 }; 29 30 nativeBuildInputs = [
pkgs/servers/dns/powerdns/default.nix pkgs/servers/dns/pdns/default.nix
pkgs/servers/dns/powerdns/version.patch pkgs/servers/dns/pdns/version.patch
+2 -2
pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix
··· 10 11 stdenv.mkDerivation rec { 12 pname = "check_ssl_cert"; 13 - version = "2.22.0"; 14 15 src = fetchFromGitHub { 16 owner = "matteocorti"; 17 repo = "check_ssl_cert"; 18 rev = "v${version}"; 19 - sha256 = "sha256-ytnaygAVKppyyUnxfMlwf9GvHzt8SN5I+b2FTcyaM/4="; 20 }; 21 22 nativeBuildInputs = [
··· 10 11 stdenv.mkDerivation rec { 12 pname = "check_ssl_cert"; 13 + version = "2.23.0"; 14 15 src = fetchFromGitHub { 16 owner = "matteocorti"; 17 repo = "check_ssl_cert"; 18 rev = "v${version}"; 19 + sha256 = "sha256-RGl6Fgm9FVaZQMWHl93RwHvrScz69VgbIyDBqMh3PVo="; 20 }; 21 22 nativeBuildInputs = [
+2 -2
pkgs/tools/admin/salt/default.nix
··· 22 in 23 py.pkgs.buildPythonApplication rec { 24 pname = "salt"; 25 - version = "3004"; 26 27 src = py.pkgs.fetchPypi { 28 inherit pname version; 29 - sha256 = "PVNWG8huAU3KLsPcmBB5vgTVXqBHiQyr3iXlsQv6WxM="; 30 }; 31 32 propagatedBuildInputs = with py.pkgs; [
··· 22 in 23 py.pkgs.buildPythonApplication rec { 24 pname = "salt"; 25 + version = "3004.1"; 26 27 src = py.pkgs.fetchPypi { 28 inherit pname version; 29 + hash = "sha256-fzRKJDJkik8HjapazMaNzf/hCVzqE+wh5QQTVg8Ewpg="; 30 }; 31 32 propagatedBuildInputs = with py.pkgs; [
+4 -6
pkgs/tools/security/sshuttle/default.nix
··· 11 12 python3Packages.buildPythonApplication rec { 13 pname = "sshuttle"; 14 - version = "1.0.5"; 15 16 src = python3Packages.fetchPypi { 17 inherit pname version; 18 - sha256 = "fd8c691aac2cb80933aae7f94d9d9e271a820efc5c48e73408f1a90da426a1bd"; 19 }; 20 21 patches = [ ./sudo.patch ]; ··· 27 28 nativeBuildInputs = [ makeWrapper python3Packages.setuptools-scm ]; 29 30 - propagatedBuildInputs = [ python3Packages.psutil ]; 31 - 32 - checkInputs = with python3Packages; [ mock pytestCheckHook flake8 ]; 33 34 postInstall = '' 35 wrapProgram $out/bin/sshuttle \ ··· 45 Works with Linux and Mac OS and supports DNS tunneling. 46 ''; 47 license = licenses.lgpl21; 48 - maintainers = with maintainers; [ domenkozar carlosdagos ]; 49 }; 50 }
··· 11 12 python3Packages.buildPythonApplication rec { 13 pname = "sshuttle"; 14 + version = "1.1.0"; 15 16 src = python3Packages.fetchPypi { 17 inherit pname version; 18 + sha256 = "sha256-IfuRvfOStQ5422uNdelbc6ydr9Nh4mV+eE5nRWEhkxU="; 19 }; 20 21 patches = [ ./sudo.patch ]; ··· 27 28 nativeBuildInputs = [ makeWrapper python3Packages.setuptools-scm ]; 29 30 + checkInputs = with python3Packages; [ pytestCheckHook ]; 31 32 postInstall = '' 33 wrapProgram $out/bin/sshuttle \ ··· 43 Works with Linux and Mac OS and supports DNS tunneling. 44 ''; 45 license = licenses.lgpl21; 46 + maintainers = with maintainers; [ domenkozar carlosdagos SuperSandro2000 ]; 47 }; 48 }
+1 -1
pkgs/tools/security/sshuttle/sudo.patch
··· 5 @@ -192,7 +192,7 @@ class FirewallClient: 6 7 self.auto_nets = [] 8 - python_path = os.path.dirname(os.path.dirname(__file__)) 9 - argvbase = ([sys.executable, sys.argv[0]] + 10 + argvbase = ([sys.argv[0]] + 11 ['-v'] * (helpers.verbose or 0) +
··· 5 @@ -192,7 +192,7 @@ class FirewallClient: 6 7 self.auto_nets = [] 8 + 9 - argvbase = ([sys.executable, sys.argv[0]] + 10 + argvbase = ([sys.argv[0]] + 11 ['-v'] * (helpers.verbose or 0) +
+1
pkgs/top-level/aliases.nix
··· 923 polarssl = throw "'polarssl' has been renamed to/replaced by 'mbedtls'"; # Converted to throw 2022-02-22 924 polysh = throw "polysh has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01 925 poppler_qt5 = throw "'poppler_qt5' has been renamed to/replaced by 'libsForQt5.poppler'"; # Converted to throw 2022-02-22 926 927 # postgresql 928 postgresql96 = postgresql_9_6;
··· 923 polarssl = throw "'polarssl' has been renamed to/replaced by 'mbedtls'"; # Converted to throw 2022-02-22 924 polysh = throw "polysh has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01 925 poppler_qt5 = throw "'poppler_qt5' has been renamed to/replaced by 'libsForQt5.poppler'"; # Converted to throw 2022-02-22 926 + powerdns = pdns; # Added 2022-03-28 927 928 # postgresql 929 postgresql96 = postgresql_9_6;
+1 -3
pkgs/top-level/all-packages.nix
··· 23236 23237 semodule-utils = callPackage ../os-specific/linux/semodule-utils { }; 23238 23239 - powerdns = callPackage ../servers/dns/powerdns { 23240 - boost = boost172; 23241 - }; 23242 23243 powerdns-admin = callPackage ../applications/networking/powerdns-admin { }; 23244
··· 23236 23237 semodule-utils = callPackage ../os-specific/linux/semodule-utils { }; 23238 23239 + pdns = callPackage ../servers/dns/pdns { }; 23240 23241 powerdns-admin = callPackage ../applications/networking/powerdns-admin { }; 23242
-2
pkgs/top-level/ocaml-packages.nix
··· 83 bls12-381-unix = callPackage ../development/ocaml-modules/bls12-381/unix.nix { }; 84 bls12-381-legacy = callPackage ../development/ocaml-modules/bls12-381/legacy.nix { }; 85 86 - bolt = callPackage ../development/ocaml-modules/bolt { }; 87 - 88 bos = callPackage ../development/ocaml-modules/bos { }; 89 90 bz2 = callPackage ../development/ocaml-modules/bz2 { };
··· 83 bls12-381-unix = callPackage ../development/ocaml-modules/bls12-381/unix.nix { }; 84 bls12-381-legacy = callPackage ../development/ocaml-modules/bls12-381/legacy.nix { }; 85 86 bos = callPackage ../development/ocaml-modules/bos { }; 87 88 bz2 = callPackage ../development/ocaml-modules/bz2 { };