From 06430639a7fa0b5577120e669c1cec4352dcc32c Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Mon, 4 Apr 2022 09:37:37 +0000 Subject: [PATCH 01/40] realvnc-vnc-viewer: 6.21.1109 -> 6.22.207 --- pkgs/tools/admin/realvnc-vnc-viewer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/realvnc-vnc-viewer/default.nix b/pkgs/tools/admin/realvnc-vnc-viewer/default.nix index 4a11d1e5440f..4f990c538086 100644 --- a/pkgs/tools/admin/realvnc-vnc-viewer/default.nix +++ b/pkgs/tools/admin/realvnc-vnc-viewer/default.nix @@ -2,16 +2,16 @@ stdenv.mkDerivation rec { pname = "realvnc-vnc-viewer"; - version = "6.21.1109"; + version = "6.22.207"; src = { "x86_64-linux" = fetchurl { url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x64.rpm"; - sha256 = "12zxp9kvi070nzxbrnrfsyla38ryb69zlidw6cvypmsgqnylfxj7"; + sha256 = "0jybfqj1svkb297ahyp07xf4b8qyb5h1l2kp50a50ivb6flqd3jr"; }; "i686-linux" = fetchurl { url = "https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-${version}-Linux-x86.rpm"; - sha256 = "03vhdmzyd16r0kdxpkq9azyy1h705lk4sbgnbw5fr8gkifwng60f"; + sha256 = "06jmkd474nql6p3hnqwnwj5ac29m2021flnvf44mfhrhaa5wnpz6"; }; }.${stdenv.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); From 5a7db167c91da7e093d8f0d56278dfc7e4daa297 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 11 Apr 2022 14:52:38 +1000 Subject: [PATCH 02/40] melody: 0.13.9 -> 0.13.10 --- pkgs/tools/misc/melody/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/melody/default.nix b/pkgs/tools/misc/melody/default.nix index 7dfc7eab4fd8..a02994f33a07 100644 --- a/pkgs/tools/misc/melody/default.nix +++ b/pkgs/tools/misc/melody/default.nix @@ -2,15 +2,15 @@ rustPlatform.buildRustPackage rec { pname = "melody"; - version = "0.13.9"; + version = "0.13.10"; src = fetchCrate { pname = "melody_cli"; inherit version; - sha256 = "1vqiciridm0pbh5yf42p2jfis908p6r9q3jaqy2hx3f5aggbf09q"; + sha256 = "05slrh5dqbpsvimdr0rlhj04kf1qzwij3zlardvbmvhvfccf4188"; }; - cargoSha256 = "1gf2km06qzvc0xv4vfxm6vdp3c5lgcjwwl92f4frga3cx51vbrzh"; + cargoSha256 = "0qh1byysbc6pl3cvx2vdpl8crx5id59hhrwqzk5g7091spm8wf79"; meta = with lib; { description = "Language that compiles to regular expressions"; From 82ab7c3799f9b6d8fb064510de7577bf9e913805 Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Tue, 12 Apr 2022 13:53:15 +0200 Subject: [PATCH 03/40] gotestsum: 1.7.0 -> 1.8.0 --- pkgs/development/tools/gotestsum/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/gotestsum/default.nix b/pkgs/development/tools/gotestsum/default.nix index 5ab7497c9a22..1f62c61297d9 100644 --- a/pkgs/development/tools/gotestsum/default.nix +++ b/pkgs/development/tools/gotestsum/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "gotestsum"; - version = "1.7.0"; + version = "1.8.0"; src = fetchFromGitHub { owner = "gotestyourself"; repo = "gotestsum"; rev = "v${version}"; - sha256 = "sha256-nZaVi39dOytJTM69xpl+d9XoUt+yHdndPgY2ggfNeMQ="; + sha256 = "sha256-6GEkuVa6RCMv0FsTYXhhscVe3Ya78qwbj7Im9AL0fOo="; }; vendorSha256 = "sha256-wP5y8Ec6eSe+rdMEQQdX0fFTQ0HWuiyBRHxGlraZd+o="; From 1e1c29aa78ae20dc4be3540b35d58ef51a5de2f2 Mon Sep 17 00:00:00 2001 From: misuzu Date: Thu, 14 Apr 2022 13:04:57 +0300 Subject: [PATCH 04/40] alfis: 0.6.11 -> 0.7.0 --- pkgs/applications/blockchains/alfis/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/blockchains/alfis/default.nix b/pkgs/applications/blockchains/alfis/default.nix index 28ce7512129e..d42ee291cf05 100644 --- a/pkgs/applications/blockchains/alfis/default.nix +++ b/pkgs/applications/blockchains/alfis/default.nix @@ -14,16 +14,16 @@ rustPlatform.buildRustPackage rec { pname = "alfis"; - version = "0.6.11"; + version = "0.7.0"; src = fetchFromGitHub { owner = "Revertron"; repo = "Alfis"; rev = "v${version}"; - sha256 = "sha256-vm/JBJh58UaSem18RpJuPUzM2GCy4RfCb6Hr1B7KWQA="; + sha256 = "sha256-lamobXaDY+v8NpoI+TuuBO5Cdol9+7VPhdmLEH6sZIo="; }; - cargoSha256 = "sha256-8ijGO8up0qVQ/kVX5/DveKyovYLh7jm+d7vooS1waAA="; + cargoSha256 = "sha256-C5MCT4EG/lI4s2rVGSm9DgBu43FKpp3iTBbCf7N1jOA="; checkFlags = [ # these want internet access, disable them From 6b123967ff0e7cfbe959ccfd51da9ac6429709d7 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Fri, 15 Apr 2022 10:00:11 +0200 Subject: [PATCH 05/40] qbe: unstable-2022-03-17 -> unstable-2022-04-11 --- pkgs/development/compilers/qbe/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/qbe/default.nix b/pkgs/development/compilers/qbe/default.nix index 80182fc9de65..2615a9406685 100644 --- a/pkgs/development/compilers/qbe/default.nix +++ b/pkgs/development/compilers/qbe/default.nix @@ -6,12 +6,12 @@ stdenv.mkDerivation rec { pname = "qbe"; - version = "unstable-2022-03-17"; + version = "unstable-2022-04-11"; src = fetchgit { url = "git://c9x.me/qbe.git"; - rev = "c6b41eb8c8cece8266b2173a83216e1ce77eb2be"; - sha256 = "sha256-vpNZNED+C9VMzWyyyntQuBgTvbpZpJ/EwOztdOEP7vI="; + rev = "2caa26e388b1c904d2f12fb09f84df7e761d8331"; + sha256 = "sha256-TNKHKX/PbrNIQJ+Q50KemfcigEBKe7gmJzTjB6ofYL8="; }; makeFlags = [ "PREFIX=$(out)" ]; From 0e17b3643ce87c23541395a46f7e42229c7e00fd Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Tue, 19 Apr 2022 07:01:44 -0600 Subject: [PATCH 06/40] heroic: 2.2.1 -> 2.2.6 --- pkgs/games/heroic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/heroic/default.nix b/pkgs/games/heroic/default.nix index c0416d0dd7e8..565bb87f7e01 100644 --- a/pkgs/games/heroic/default.nix +++ b/pkgs/games/heroic/default.nix @@ -2,11 +2,11 @@ let pname = "heroic"; - version = "2.2.1"; + version = "2.2.6"; name = "${pname}-${version}"; src = fetchurl { url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/Heroic-${version}.AppImage"; - sha256 = "sha256-zzxf3eM1fUWTVtzzABcwlmptNuCVQafvotnbOiCzu0c="; + sha256 = "sha256-kL30/G4DpDPwGN7PvbWest7TcgL4Rd1c2OM4nRCT3bg="; }; appimageContents = appimageTools.extractType2 { inherit name src; }; From 4162f7d27984ae92c3bbd803f6af323934ca22dc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 20 Apr 2022 11:49:13 +0200 Subject: [PATCH 07/40] python3Packages.xdis: 6.0.3 -> unstable-2022-04-13 --- .../python-modules/xdis/default.nix | 47 ++++++++++++++----- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/xdis/default.nix b/pkgs/development/python-modules/xdis/default.nix index ca339b7a4438..291da467e9ed 100644 --- a/pkgs/development/python-modules/xdis/default.nix +++ b/pkgs/development/python-modules/xdis/default.nix @@ -1,32 +1,55 @@ -{ lib, buildPythonPackage, fetchFromGitHub, isPy27 +{ lib +, buildPythonPackage , click -, pytest +, fetchFromGitHub +, fetchpatch +, pytestCheckHook +, pythonOlder , six }: buildPythonPackage rec { pname = "xdis"; - version = "6.0.3"; - disabled = isPy27; + version = "unstable-2022-04-13"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "rocky"; repo = "python-xdis"; - rev = version; - sha256 = "1qvg3bwqzqxlzlixz2di3si7siy0ismq93wd57r8cqmxl54gva6h"; + # Support for later Python releases is missing in 6.0.3 + rev = "f888df7df5cb8839927e9187c258769cc77fb7a3"; + hash = "sha256-V1ws5GibRkutFRNcjlP7aW+AshSyWavXIxuwznVbRlU="; }; - checkInputs = [ pytest ]; - propagatedBuildInputs = [ six click ]; + propagatedBuildInputs = [ + click + six + ]; - checkPhase = '' - make check - ''; - pythonImportsCheck = [ "xdis" ]; + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "xdis" + ]; + + disabledTestPaths = [ + # Our Python release is not in the test matrix + "test_unit/test_disasm.py" + ]; + + disabledTests = [ + "test_big_linenos" + "test_basic" + ]; meta = with lib; { description = "Python cross-version byte-code disassembler and marshal routines"; homepage = "https://github.com/rocky/python-xdis/"; license = licenses.gpl2Plus; + maintainers = with maintainers; [ ]; }; } From 05554d6c575286d2fd80405222774d8415c995cb Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 20 Apr 2022 12:56:01 +0200 Subject: [PATCH 08/40] ft2-clone: 1.52 -> 1.54 --- pkgs/applications/audio/ft2-clone/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/ft2-clone/default.nix b/pkgs/applications/audio/ft2-clone/default.nix index 7e0fcf2717eb..03c8e8d6ce69 100644 --- a/pkgs/applications/audio/ft2-clone/default.nix +++ b/pkgs/applications/audio/ft2-clone/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "ft2-clone"; - version = "1.52"; + version = "1.54"; src = fetchFromGitHub { owner = "8bitbubsy"; repo = "ft2-clone"; rev = "v${version}"; - sha256 = "sha256-RyZ3PV7jaTN3DEYMT0BqKDHbb+7/IgiRaCra1xA0h1A="; + sha256 = "sha256-lNiQ0X2vvPGubb4Pde+eh0Z6ClCQgigIUM+PddaiVUg="; }; # Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh) From 1f285a9046b70ba8289f84ce842b0aff2cb8b161 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 20 Apr 2022 12:56:41 +0200 Subject: [PATCH 09/40] pt2-clone: 1.43 -> 1.46 --- pkgs/applications/audio/pt2-clone/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/pt2-clone/default.nix b/pkgs/applications/audio/pt2-clone/default.nix index 2577f61e8d51..8b586c455e3b 100644 --- a/pkgs/applications/audio/pt2-clone/default.nix +++ b/pkgs/applications/audio/pt2-clone/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "pt2-clone"; - version = "1.43"; + version = "1.46"; src = fetchFromGitHub { owner = "8bitbubsy"; repo = "pt2-clone"; rev = "v${version}"; - sha256 = "sha256-+sHGjgDqizv/9n0dDj8knsl+4MBfO3/pMkmD+MPsuNM="; + sha256 = "sha256-xRq37hjuMiGxsWRnZ/ryXYLvQpjbfQEjQkMjjuqL7r8="; }; nativeBuildInputs = [ cmake ]; From 325a525467f6200eae76a1406b1684d02536c8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 Apr 2022 13:57:32 +0200 Subject: [PATCH 10/40] nixos/consul: allow ipv6-only --- nixos/modules/services/networking/consul.nix | 38 ++++++++++++++++---- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix index ca9c422e6d7c..cb53cc01f52d 100644 --- a/nixos/modules/services/networking/consul.nix +++ b/nixos/modules/services/networking/consul.nix @@ -80,13 +80,21 @@ in The name of the interface to pull the bind_addr from. ''; }; + }; + forceAddrFamily = mkOption { + type = types.enum [ "any" "ipv4" "ipv6" ]; + default = "any"; + description = '' + Whether to bind ipv4/ipv6 or both kind of addresses. + ''; }; forceIpv4 = mkOption { - type = types.bool; - default = false; + type = types.nullOr types.bool; + default = null; description = '' + Deprecated: Use consul.forceAddrFamily instead. Whether we should force the interfaces to only pull ipv4 addresses. ''; }; @@ -175,6 +183,13 @@ in systemPackages = [ cfg.package ]; }; + warnings = lib.flatten [ + (lib.optional (cfg.forceIpv4 != null) '' + The option consul.forceIpv4 is deprecated, please use + consul.forceAddrFamily instead. + '') + ]; + systemd.services.consul = { wantedBy = [ "multi-user.target" ]; after = [ "network.target" ] ++ systemdDevices; @@ -196,15 +211,21 @@ in }); path = with pkgs; [ iproute2 gnugrep gawk consul ]; - preStart = '' + preStart = let + family = if cfg.forceAddrFamily == "ipv6" then + "-6" + else if cfg.forceAddrFamily == "ipv4" then + "-4" + else + ""; + in '' mkdir -m 0700 -p ${dataDir} chown -R consul ${dataDir} # Determine interface addresses getAddrOnce () { - ip addr show dev "$1" \ - | grep 'inet${optionalString (cfg.forceIpv4) " "}.*scope global' \ - | awk -F '[ /\t]*' '{print $3}' | head -n 1 + ip ${family} addr show dev "$1" scope global \ + | awk -F '[ /\t]*' '/inet/ {print $3}' | head -n 1 } getAddr () { ADDR="$(getAddrOnce $1)" @@ -234,6 +255,11 @@ in }; } + # deprecated + (mkIf (cfg.forceIpv4 != null && cfg.forceIpv4) { + services.consul.forceAddrFamily = "ipv4"; + }) + (mkIf (cfg.alerts.enable) { systemd.services.consul-alerts = { wantedBy = [ "multi-user.target" ]; From 9a6c54e28b821469e9268525be08c6eee245628f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 Apr 2022 18:38:44 +0200 Subject: [PATCH 11/40] terraform.mkProvider: include rev in src This invalidates fixed-input derivation after bumping a version. --- .../networking/cluster/terraform-providers/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/cluster/terraform-providers/default.nix b/pkgs/applications/networking/cluster/terraform-providers/default.nix index 01c7a0a91983..0be97ceb9b14 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/default.nix +++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix @@ -32,6 +32,7 @@ let CGO_ENABLED = 0; ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${rev}" ]; src = fetchFromGitHub { + name = "source-${rev}"; inherit owner repo rev sha256; }; From cb083a2026e6e8014f274ab3dfb264997be5563d Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Wed, 20 Apr 2022 17:52:28 -0500 Subject: [PATCH 12/40] weighttp: remove Depends on Python 2 and has been abandoned by upstream --- pkgs/tools/networking/weighttp/default.nix | 23 ---------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 pkgs/tools/networking/weighttp/default.nix diff --git a/pkgs/tools/networking/weighttp/default.nix b/pkgs/tools/networking/weighttp/default.nix deleted file mode 100644 index 7a26ffdeb436..000000000000 --- a/pkgs/tools/networking/weighttp/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchgit, python2, libev, wafHook }: - -stdenv.mkDerivation rec { - pname = "weighttp"; - version = "0.4"; - - src = fetchgit { - url = "https://git.lighttpd.net/weighttp.git"; - rev = "refs/tags/weighttp-${version}"; - sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr"; - }; - - nativeBuildInputs = [ wafHook ]; - - buildInputs = [ python2 libev ]; - - meta = with lib; { - description = "Lightweight and simple webserver benchmarking tool"; - homepage = "https://redmine.lighttpd.net/projects/weighttp/wiki"; - platforms = platforms.unix; - license = licenses.mit; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 011f3a2c33f8..db330743e50d 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1338,6 +1338,7 @@ mapAliases ({ webbrowser = throw "webbrowser was removed because it's unmaintained upstream and was marked as broken in nixpkgs for over a year"; # Added 2022-03-21 webkit = throw "'webkit' has been renamed to/replaced by 'webkitgtk'"; # Converted to throw 2022-02-22 weechat-matrix-bridge = throw "'weechat-matrix-bridge' has been renamed to/replaced by 'weechatScripts.weechat-matrix-bridge'"; # Converted to throw 2022-02-22 + weighttp = throw "weighttp has been removed: abandoned by upstream"; # Added 2022-04-20 whirlpool-gui = throw "whirlpool-gui has been removed as it depended on an insecure version of Electron"; # added 2022-02-08 wicd = throw "wicd has been removed as it is abandoned"; # Added 2021-09-11 wineFull = throw "'wineFull' has been renamed to/replaced by 'winePackages.full'"; # Converted to throw 2022-02-22 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7d8bdc26d90d..54761c8d56d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11541,8 +11541,6 @@ with pkgs; webalizer = callPackage ../tools/networking/webalizer { }; - weighttp = callPackage ../tools/networking/weighttp { }; - wget = callPackage ../tools/networking/wget { libpsl = null; }; From 99e47617042d76425dc640df1677028f1681e4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Wed, 20 Apr 2022 22:29:28 -0500 Subject: [PATCH 13/40] =?UTF-8?q?magma:=202.5.4=20=E2=86=92=202.6.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../libraries/science/math/magma/default.nix | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/pkgs/development/libraries/science/math/magma/default.nix b/pkgs/development/libraries/science/math/magma/default.nix index a1e0d908d510..05d7d4fa1842 100644 --- a/pkgs/development/libraries/science/math/magma/default.nix +++ b/pkgs/development/libraries/science/math/magma/default.nix @@ -8,7 +8,7 @@ assert let majorIs = lib.versions.major cudatoolkit.version; in majorIs == "9" || majorIs == "10" || majorIs == "11"; let - version = "2.5.4"; + version = "2.6.2"; # We define a specific set of CUDA compute capabilities here, # because CUDA 11 does not support compute capability 3.0. Also, @@ -45,7 +45,7 @@ in stdenv.mkDerivation { inherit version; src = fetchurl { url = "https://icl.cs.utk.edu/projectsfiles/magma/downloads/magma-${version}.tar.gz"; - sha256 = "0rrvd21hczxlm8awc9z54fj7iqpjmsb518fy32s6ghz0g90znd3p"; + hash = "sha256-dbVU2rAJA+LRC5cskT5Q5/iMvGLzrkMrWghsfk7aCnE="; name = "magma-${version}.tar.gz"; }; @@ -64,23 +64,6 @@ in stdenv.mkDerivation { enableParallelBuilding=true; buildFlags = [ "magma" "magma_sparse" ]; - # MAGMA's default CMake setup does not care about installation. So we copy files directly. - installPhase = '' - mkdir -p $out - mkdir -p $out/include - mkdir -p $out/lib - mkdir -p $out/lib/pkgconfig - cp -a ../include/*.h $out/include - #cp -a sparse-iter/include/*.h $out/include - cp -a lib/*.so $out/lib - cat ../lib/pkgconfig/magma.pc.in | \ - sed -e s:@INSTALL_PREFIX@:"$out": | \ - sed -e s:@CFLAGS@:"-I$out/include": | \ - sed -e s:@LIBS@:"-L$out/lib -lmagma -lmagma_sparse": | \ - sed -e s:@MAGMA_REQUIRED@:: \ - > $out/lib/pkgconfig/magma.pc - ''; - meta = with lib; { description = "Matrix Algebra on GPU and Multicore Architectures"; license = licenses.bsd3; From abccf534498779368f02ad0738922658132de1fd Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 20 Apr 2022 22:32:33 -0700 Subject: [PATCH 14/40] =?UTF-8?q?zulip:=205.9.1=20=E2=86=92=205.9.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anders Kaseorg --- .../networking/instant-messengers/zulip/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/zulip/default.nix b/pkgs/applications/networking/instant-messengers/zulip/default.nix index c15a5377173e..c2bff0b6b266 100644 --- a/pkgs/applications/networking/instant-messengers/zulip/default.nix +++ b/pkgs/applications/networking/instant-messengers/zulip/default.nix @@ -5,12 +5,12 @@ let pname = "zulip"; - version = "5.9.1"; + version = "5.9.2"; name = "${pname}-${version}"; src = fetchurl { url = "https://github.com/zulip/zulip-desktop/releases/download/v${version}/Zulip-${version}-x86_64.AppImage"; - hash = "sha256-hUi4t7WdZG6GmNQfUcG4E9qGJDdPIMbglJzwR7tFNVQ="; + hash = "sha256-PJ7/KOtfjH1RHMzAKSr9Y/82Z0vL2wBy3GgI/0JrlpM="; name="${pname}-${version}.AppImage"; }; From bd893ba963fb3b58b49b0a0edb7e82f0ba952754 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Apr 2022 05:59:28 +0000 Subject: [PATCH 15/40] maigret: 0.4.2 -> 0.4.3 --- pkgs/tools/security/maigret/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/maigret/default.nix b/pkgs/tools/security/maigret/default.nix index 6de0db971a47..5fe281017b55 100644 --- a/pkgs/tools/security/maigret/default.nix +++ b/pkgs/tools/security/maigret/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "maigret"; - version = "0.4.2"; + version = "0.4.3"; src = fetchFromGitHub { owner = "soxoj"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-XML7sb/dhMX9i8GzOezanVTFha73v2m1OVOYvSOelNQ="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-0Ni4rXVu3ZQyHBvD3IpV0i849CnumLj+n6/g4sMhHEs="; }; propagatedBuildInputs = with python3.pkgs; [ From 0779a04aadd6ac02864f1d71ca0c320815a847b5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Apr 2022 06:09:31 +0000 Subject: [PATCH 16/40] python310Packages.policyuniverse: 1.5.0.20220416 -> 1.5.0.20220420 --- pkgs/development/python-modules/policyuniverse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/policyuniverse/default.nix b/pkgs/development/python-modules/policyuniverse/default.nix index 77b38f7a3180..9b03c3581bdf 100644 --- a/pkgs/development/python-modules/policyuniverse/default.nix +++ b/pkgs/development/python-modules/policyuniverse/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "policyuniverse"; - version = "1.5.0.20220416"; + version = "1.5.0.20220420"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-RGXOqhXPsEQR5wcXDWz00J6KcdJOY5ZXSLVXT18wDDk="; + sha256 = "sha256-HWyzwvsn3ikL5cbEPljMHShF2vQEOSP6umk08UZgQsI="; }; # Tests are not shipped and there are no GitHub tags From 3a9e595d9b740b49d982fdf53d59239747352a20 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 08:10:22 +0200 Subject: [PATCH 17/40] python3Packages.boschshcpy: 0.2.31 -> 0.2.32 --- pkgs/development/python-modules/boschshcpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/boschshcpy/default.nix b/pkgs/development/python-modules/boschshcpy/default.nix index 4c4e9234068e..277a55637f73 100644 --- a/pkgs/development/python-modules/boschshcpy/default.nix +++ b/pkgs/development/python-modules/boschshcpy/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "boschshcpy"; - version = "0.2.31"; + version = "0.2.32"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "tschamm"; repo = pname; rev = version; - sha256 = "sha256-04qTjwnPckBHKBs9+BFWtTJ9uVc0U1oJAiLIE1nqQdE="; + sha256 = "sha256-tJlgmxa6HppLLTs4ZggnJ5H6NOH3v+C9pUfLBmxr4XY="; }; propagatedBuildInputs = [ From b0f62d6bc30d0d11727853b47c1e9d8af7373039 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 08:14:40 +0200 Subject: [PATCH 18/40] gitleaks: 8.7.0 -> 8.7.1 --- pkgs/tools/security/gitleaks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index d8df6c98c1c2..bc2a54c55156 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "gitleaks"; - version = "8.7.0"; + version = "8.7.1"; src = fetchFromGitHub { owner = "zricethezav"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4ED7xmwbFXs6OnCtG+xrY50kBsgESxw/a8slhWOo+30="; + sha256 = "sha256-b2vr+RZkIbhFLaK/Wfcgz0x3QXNtgAobbcZ3Fp3PkuY="; }; vendorSha256 = "sha256-ls6zuouCAmE3y9011CK1YADy/v87Ft8tb85LyJ4bEF4="; From ccc8e853b5abb56715a04183a7e50159a88aa6bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 08:15:14 +0200 Subject: [PATCH 19/40] gitleaks: 8.7.1 -> 8.7.2 --- pkgs/tools/security/gitleaks/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index bc2a54c55156..a26e0569c5c5 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "gitleaks"; - version = "8.7.1"; + version = "8.7.2"; src = fetchFromGitHub { owner = "zricethezav"; repo = pname; rev = "v${version}"; - sha256 = "sha256-b2vr+RZkIbhFLaK/Wfcgz0x3QXNtgAobbcZ3Fp3PkuY="; + sha256 = "sha256-V2wBzoU3oL/wT/pIvMxEPTuNaRLTI72OTDRgWXyzZoY="; }; - vendorSha256 = "sha256-ls6zuouCAmE3y9011CK1YADy/v87Ft8tb85LyJ4bEF4="; + vendorSha256 = "sha256-X8z9iKRR3PptNHwy1clZG8QsClsjbW45nZb2fHGfSYk="; ldflags = [ "-s" From b0fd5a29d5b6a55795610433c3b2ced5697edaca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 08:18:47 +0200 Subject: [PATCH 20/40] python3Packages.md-toc: 8.1.2 -> 8.1.3 --- pkgs/development/python-modules/md-toc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/md-toc/default.nix b/pkgs/development/python-modules/md-toc/default.nix index 5f0f9a434b49..5d3cde1d038c 100644 --- a/pkgs/development/python-modules/md-toc/default.nix +++ b/pkgs/development/python-modules/md-toc/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "md-toc"; - version = "8.1.2"; + version = "8.1.3"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "frnmst"; repo = pname; rev = version; - sha256 = "sha256-EmhCZhxUCzBMqScPeawvcWmP9rrthow1vhTZachjCDI="; + sha256 = "sha256-/Hi2CW3aqbvCr7xGHD9lAe9U84waSjVfTfWq76NXNT4="; }; propagatedBuildInputs = [ From 55ec5642a5ae0544d9d67bc7674739bd5bb696e1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 08:19:04 +0200 Subject: [PATCH 21/40] python3Packages.mdurl: 0.1.0 -> 0.1.1 --- pkgs/development/python-modules/mdurl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mdurl/default.nix b/pkgs/development/python-modules/mdurl/default.nix index 37b3e9ad56ac..da44a1dbbc3d 100644 --- a/pkgs/development/python-modules/mdurl/default.nix +++ b/pkgs/development/python-modules/mdurl/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "mdurl"; - version = "0.1.0"; + version = "0.1.1"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "hukkin"; repo = pname; rev = version; - sha256 = "sha256-AVklWFc4o5R9OzS9BYauuOaxm89P/Ih5l3Vrb2P0El4="; + sha256 = "sha256-SBJSs+i+I0jF90i3o6BUgLCDR6Et34fXEmQ7fbDoAbA="; }; nativeBuildInputs = [ From c94fae104603e9b6ca27cf7aa4ba8a6052ce4ab2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Apr 2022 06:20:05 +0000 Subject: [PATCH 22/40] python310Packages.types-decorator: 5.1.5 -> 5.1.6 --- pkgs/development/python-modules/types-decorator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-decorator/default.nix b/pkgs/development/python-modules/types-decorator/default.nix index 8d6d2038b3b2..114ceade047a 100644 --- a/pkgs/development/python-modules/types-decorator/default.nix +++ b/pkgs/development/python-modules/types-decorator/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-decorator"; - version = "5.1.5"; + version = "5.1.6"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-CrPgAZyBGRIrXzD0IlUkcbkc8xOLPI69krQb1d3h3QI="; + sha256 = "sha256-OZ+qczvJMstRtQ08odfpV7KuAvPE1xGcdpYxKCo4aKY="; }; # Modules doesn't have tests From f630d0eda9f5ce207472c573b2f6a7913327fa62 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 08:40:43 +0200 Subject: [PATCH 23/40] checkov: 2.0.1068 -> 2.0.1075 --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 73f32a356f46..36fff6af567b 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -32,13 +32,13 @@ with py.pkgs; buildPythonApplication rec { pname = "checkov"; - version = "2.0.1068"; + version = "2.0.1075"; src = fetchFromGitHub { owner = "bridgecrewio"; repo = pname; rev = version; - hash = "sha256-/WJiGWBGcVDoiX+FnEbIFaMRxQSnJTqLqHbKlEoCqWU="; + hash = "sha256-5KAmIJngrs4nvjLJsaUrbgZsMFe0eTTDiwquyguvKLI="; }; nativeBuildInputs = with py.pkgs; [ From d100a223aa4dbc57810b56238eee335e4508c16a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Apr 2022 07:03:57 +0000 Subject: [PATCH 24/40] python310Packages.types-dateutil: 2.8.11 -> 2.8.12 --- pkgs/development/python-modules/types-dateutil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-dateutil/default.nix b/pkgs/development/python-modules/types-dateutil/default.nix index 39fb824bdcdc..5a1e7220ec44 100644 --- a/pkgs/development/python-modules/types-dateutil/default.nix +++ b/pkgs/development/python-modules/types-dateutil/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-python-dateutil"; - version = "2.8.11"; + version = "2.8.12"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-7cBdC5MgGSirC1/ysxRBPdPSsk6xLEcCl++Sned8k+8="; + sha256 = "sha256-7zBTt0XwHERDtRK2s9WwT7ry1HaqUDtsyTIEah7fpWo="; }; pythonImportsCheck = [ "dateutil-stubs" ]; From 5029df773710dd266a24d452975aaed8c7a245c3 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Wed, 20 Apr 2022 22:44:43 +0200 Subject: [PATCH 25/40] giac: 1.6.0-47 -> 1.9.0-5 --- .../science/math/giac/default.nix | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/pkgs/applications/science/math/giac/default.nix b/pkgs/applications/science/math/giac/default.nix index 4700402ff21e..d684865432d5 100644 --- a/pkgs/applications/science/math/giac/default.nix +++ b/pkgs/applications/science/math/giac/default.nix @@ -1,6 +1,6 @@ { stdenv, lib, fetchurl, fetchpatch, texlive, bison, flex, lapack, blas -, gmp, mpfr, pari, ntl, gsl, mpfi, ecm, glpk, nauty -, readline, gettext, libpng, libao, gfortran, perl +, autoreconfHook, gmp, mpfr, pari, ntl, gsl, mpfi, ecm, glpk, nauty +, buildPackages, readline, gettext, libpng, libao, gfortran, perl , enableGUI ? false, libGL, libGLU, xorg, fltk , enableMicroPy ? false, python3 }: @@ -9,11 +9,11 @@ assert (!blas.isILP64) && (!lapack.isILP64); stdenv.mkDerivation rec { pname = "giac${lib.optionalString enableGUI "-with-xcas"}"; - version = "1.6.0-47"; # TODO try to remove preCheck phase on upgrade + version = "1.9.0-5"; # TODO try to remove preCheck phase on upgrade src = fetchurl { url = "https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version}.tar.gz"; - sha256 = "sha256-c5A9/I6L/o3Y3dxEPoTKpw/fJqYMr6euLldaQ1HWT5c="; + sha256 = "sha256-EP8wRi8QZPrr1lfKN6da87s1FCy8AuDYbzcvsJCWyLE="; }; patches = [ @@ -32,18 +32,21 @@ stdenv.mkDerivation rec { }) ]; + # 1.9.0-5's tarball contains a binary (src/mkjs) which is executed + # at build time. we will delete and rebuild it. + depsBuildBuild = [ buildPackages.stdenv.cc ]; + postPatch = '' for i in doc/*/Makefile* micropython*/xcas/Makefile*; do substituteInPlace "$i" --replace "/bin/cp" "cp"; done; - '' + - # workaround for 1.6.0-47, should not be necessary in future versions - lib.optionalString (!enableMicroPy) '' - sed -i -e 's/micropython-[0-9.]* //' Makefile* + rm src/mkjs + substituteInPlace src/Makefile.am --replace "g++ mkjs.cc" \ + "${buildPackages.stdenv.cc.targetPrefix}c++ mkjs.cc" ''; nativeBuildInputs = [ - texlive.combined.scheme-small bison flex + autoreconfHook texlive.combined.scheme-small bison flex ]; # perl is only needed for patchShebangs fixup. @@ -58,13 +61,6 @@ stdenv.mkDerivation rec { libGL libGLU fltk xorg.libX11 ] ++ lib.optional enableMicroPy python3; - /* fixes: - configure:16211: checking for main in -lntl - configure:16230: g++ -o conftest -g -O2 conftest.cpp -lntl -llapack -lblas -lgfortran -ldl -lpng16 -lm -lmpfi -lmpfr -lgmp >&5 - /nix/store/y9c1v4x7y39j2rfbg17agjwqdzxpsn18-ntl-11.3.2/lib/libntl.so: undefined reference to `pthread_key_create' - */ - NIX_CFLAGS_LINK="-lpthread"; - # xcas Phys and Turtle menus are broken with split outputs # and interactive use is likely to need docs outputs = [ "out" ] ++ lib.optional (!enableGUI) "doc"; From 0f29ab871f966fbcbede8b76a3a7cbbd3e97e7e1 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Wed, 20 Apr 2022 23:07:49 +0200 Subject: [PATCH 26/40] sage: update test expectations --- .../patches/docutils-0.18.1-deprecation.patch | 13 +++++++ .../science/math/sage/sage-src.nix | 38 +++++++++++++++---- 2 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch diff --git a/pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch b/pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch new file mode 100644 index 000000000000..94e0488e21e7 --- /dev/null +++ b/pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch @@ -0,0 +1,13 @@ +diff --git a/src/sage/misc/sagedoc.py b/src/sage/misc/sagedoc.py +index 4c56aea078..e51a77ae8a 100644 +--- a/src/sage/misc/sagedoc.py ++++ b/src/sage/misc/sagedoc.py +@@ -1402,6 +1402,8 @@ class _sage_doc: + sage: identity_matrix.__doc__ in browse_sage_doc(identity_matrix, 'rst') + True + sage: browse_sage_doc(identity_matrix, 'html', False) # optional - sphinx ++ ... ++ FutureWarning: The configuration setting "embed_images" will be removed in Docutils 1.2. Use "image_loading: link". + '...div...File:...Type:...Definition:...identity_matrix...' + + In the 'text' version, double colons have been replaced with diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix index 04c2355d26aa..b230b0d42a03 100644 --- a/pkgs/applications/science/math/sage/sage-src.nix +++ b/pkgs/applications/science/math/sage/sage-src.nix @@ -13,9 +13,14 @@ let # Fetch a diff between `base` and `rev` on sage's git server. # Used to fetch trac tickets by setting the `base` to the last release and the # `rev` to the last commit of the ticket. - fetchSageDiff = { base, name, rev, sha256, squashed ? false, ...}@args: ( + # + # We don't use sage's own build system (which builds all its + # dependencies), so we exclude changes to "build/" from patches by + # default to avoid conflicts. + fetchSageDiff = { base, name, rev, sha256, squashed ? false, excludes ? [ "build/*" ] + , ...}@args: ( fetchpatch ({ - inherit name sha256; + inherit name sha256 excludes; # There are three places to get changes from: # @@ -49,11 +54,7 @@ let "https://github.com/sagemath/sagetrac-mirror/compare/${base}...${rev}.diff" ] else [ "https://git.sagemath.org/sage.git/patch?id2=${base}&id=${rev}" ]; - - # We don't care about sage's own build system (which builds all its dependencies). - # Exclude build system changes to avoid conflicts. - excludes = [ "build/*" ]; - } // builtins.removeAttrs args [ "rev" "base" "sha256" "squashed" ]) + } // builtins.removeAttrs args [ "rev" "base" "sha256" "squashed" "excludes" ]) ); in stdenv.mkDerivation rec { @@ -172,6 +173,29 @@ stdenv.mkDerivation rec { rev = "8452003846a7303100847d8d0ed642fc642c11d6"; sha256 = "sha256-A/XMouPlc2sjFp30L+56fBGJXydS2EtzfPOV98FCDqI="; }) + + # https://trac.sagemath.org/ticket/33226 + (fetchSageDiff { + base = "9.6.beta0"; + name = "giac-1.7.0-45-update.patch"; + rev = "33ea2adf01e9e2ce9f1e33779f0b1ac0d9d1989c"; + sha256 = "sha256-DOyxahf3+IaYdkgmAReNDCorRzMgO8+yiVrJ5TW1km0="; + }) + + # https://trac.sagemath.org/ticket/33398 + (fetchSageDiff { + base = "9.6.beta4"; + name = "sympy-1.10-update.patch"; + rev = "6b7c3a28656180e42163dc10f7b4a571b93e5f27"; + sha256 = "sha256-fnUyM2yjHkCykKRfzQQ4glcUYmCS/fYzDzmCf0nuebk="; + # The patch contains a whitespace change to a file that didn't exist in Sage 9.5. + excludes = [ "build/*" "src/sage/manifolds/vector_bundle_fiber_element.py" ]; + }) + + # docutils 0.18.1 now triggers Sphinx warnings. tolerate them for + # now, because patching Sphinx is not feasible. + # https://github.com/sphinx-doc/sphinx/issues/9777#issuecomment-1104481271 + ./patches/docutils-0.18.1-deprecation.patch ]; patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches; From 025d795c5acf07c6afd21296fa502611afbb8dea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 09:37:15 +0200 Subject: [PATCH 27/40] python3Packages.ibis-framework: relax regex constraint --- pkgs/development/python-modules/ibis-framework/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index e25832fbfcb3..39d226bb9564 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -58,7 +58,7 @@ buildPythonPackage rec { repo = "ibis"; owner = "ibis-project"; rev = version; - sha256 = "sha256-n3fR6wvcSfIo7760seB+5SxtoYSqQmqkzZ9VlNQF200="; + hash = "sha256-n3fR6wvcSfIo7760seB+5SxtoYSqQmqkzZ9VlNQF200="; }; nativeBuildInputs = [ poetry-core ]; @@ -94,7 +94,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace 'atpublic = ">=2.3,<3"' 'atpublic = ">=2.3"' + --replace 'atpublic = ">=2.3,<3"' 'atpublic = ">=2.3"' \ + --replace 'regex = "^2021.7.6"' 'regex = "*"' ''; preBuild = '' From 9a1740da3834c6d446ddc4209fe6c2befe8f535e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 09:41:28 +0200 Subject: [PATCH 28/40] python3Packages.rfc6555: remove obsolete input --- pkgs/development/python-modules/rfc6555/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/rfc6555/default.nix b/pkgs/development/python-modules/rfc6555/default.nix index 5be65fee2395..e866df5d122e 100644 --- a/pkgs/development/python-modules/rfc6555/default.nix +++ b/pkgs/development/python-modules/rfc6555/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchFromGitHub , pytestCheckHook -, selectors2 +, pythonOlder }: buildPythonPackage rec { @@ -10,17 +10,15 @@ buildPythonPackage rec { version = "0.1.0"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "sethmlarson"; repo = pname; rev = "v${version}"; - sha256 = "Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM="; + hash = "sha256-Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM="; }; - propagatedBuildInputs = [ - selectors2 - ]; - checkInputs = [ pytestCheckHook ]; From 1856f95e51cdddaf4f7625f02f1d5bde5ef7ea7a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 09:49:27 +0200 Subject: [PATCH 29/40] python3Packages.parsimonious: relax regex constraint --- .../python-modules/parsimonious/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/parsimonious/default.nix b/pkgs/development/python-modules/parsimonious/default.nix index ccffbc5a2819..d517e9433e41 100644 --- a/pkgs/development/python-modules/parsimonious/default.nix +++ b/pkgs/development/python-modules/parsimonious/default.nix @@ -3,6 +3,7 @@ , fetchPypi , regex , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { @@ -10,9 +11,11 @@ buildPythonPackage rec { version = "0.9.0"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - sha256 = "sha256-sq0a5jovZb149eCorFEKmPNgekPx2yqNRmNqXZ5KMME="; + hash = "sha256-sq0a5jovZb149eCorFEKmPNgekPx2yqNRmNqXZ5KMME="; }; propagatedBuildInputs = [ @@ -23,6 +26,11 @@ buildPythonPackage rec { pytestCheckHook ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "regex>=2022.3.15" "regex" + ''; + pythonImportsCheck = [ "parsimonious" "parsimonious.grammar" @@ -30,9 +38,9 @@ buildPythonPackage rec { ]; meta = with lib; { + description = "Arbitrary-lookahead parser"; homepage = "https://github.com/erikrose/parsimonious"; - description = "Fast arbitrary-lookahead parser written in pure Python"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; - } From b9f4e0550e7949cab05552cd9c723be8b42843e8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 10:04:24 +0200 Subject: [PATCH 30/40] python3Packages.invocations: add missing input --- .../python-modules/invocations/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/invocations/default.nix b/pkgs/development/python-modules/invocations/default.nix index 78ace76b762e..fef497739cbf 100644 --- a/pkgs/development/python-modules/invocations/default.nix +++ b/pkgs/development/python-modules/invocations/default.nix @@ -1,11 +1,12 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , blessings , fetchFromGitHub , invoke -, lib , releases , semantic-version , tabulate +, tqdm , twine }: @@ -27,12 +28,22 @@ buildPythonPackage rec { --replace "tabulate==0.7.5" "tabulate" ''; - propagatedBuildInputs = [ blessings invoke releases semantic-version tabulate twine ]; + propagatedBuildInputs = [ + blessings + invoke + releases + semantic-version + tabulate + tqdm + twine + ]; # There's an error loading the test suite. See https://github.com/pyinvoke/invocations/issues/29. doCheck = false; - pythonImportsCheck = [ "invocations" ]; + pythonImportsCheck = [ + "invocations" + ]; meta = with lib; { description = "Common/best-practice Invoke tasks and collections"; From 091a1b3aa18a9fd91b8c59d34840b59a31018b58 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 10:16:26 +0200 Subject: [PATCH 31/40] python3Packages.dataset: disable on older Python releasese --- .../python-modules/dataset/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dataset/default.nix b/pkgs/development/python-modules/dataset/default.nix index 38de0218dec0..514876761ebf 100644 --- a/pkgs/development/python-modules/dataset/default.nix +++ b/pkgs/development/python-modules/dataset/default.nix @@ -1,22 +1,28 @@ { lib -, buildPythonPackage -, fetchPypi -, sqlalchemy , alembic , banal +, buildPythonPackage +, fetchPypi +, pythonOlder +, sqlalchemy }: buildPythonPackage rec { pname = "dataset"; version = "1.5.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-TDZ6fAqFxOdI79o07uMAw/zD8HbHXDKQt0mnoFM1yEc="; + hash = "sha256-TDZ6fAqFxOdI79o07uMAw/zD8HbHXDKQt0mnoFM1yEc="; }; propagatedBuildInputs = [ - sqlalchemy alembic banal + alembic + banal + sqlalchemy ]; # checks attempt to import nonexistent module 'test.test' and fail @@ -30,6 +36,6 @@ buildPythonPackage rec { description = "Toolkit for Python-based database access"; homepage = "https://dataset.readthedocs.io"; license = licenses.mit; - maintainers = [ maintainers.xfnw ]; + maintainers = with maintainers; [ xfnw ]; }; } From 4d33027198a83923ddf384275457488e41533fea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 10:25:52 +0200 Subject: [PATCH 32/40] python3Packages.datasets: update inputs --- .../python-modules/datasets/default.nix | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/datasets/default.nix b/pkgs/development/python-modules/datasets/default.nix index baf27639fd4a..aa3cd42e5086 100644 --- a/pkgs/development/python-modules/datasets/default.nix +++ b/pkgs/development/python-modules/datasets/default.nix @@ -1,15 +1,19 @@ { lib +, aiohttp , buildPythonPackage -, fetchFromGitHub , dill -, filelock +, fetchFromGitHub , fsspec , huggingface-hub +, importlib-metadata , multiprocess , numpy +, packaging , pandas , pyarrow +, pythonOlder , requests +, responses , tqdm , xxhash }: @@ -17,26 +21,33 @@ buildPythonPackage rec { pname = "datasets"; version = "1.18.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "huggingface"; repo = pname; rev = version; - sha256 = "sha256-2x6DpsDcVF2O5iJKeMEGw/aJwZPc7gSGaK2947c3B6s="; + hash = "sha256-2x6DpsDcVF2O5iJKeMEGw/aJwZPc7gSGaK2947c3B6s="; }; propagatedBuildInputs = [ + aiohttp dill - filelock fsspec huggingface-hub multiprocess numpy + packaging pandas pyarrow requests + responses tqdm xxhash + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata ]; # Tests require pervasive internet access. @@ -45,11 +56,13 @@ buildPythonPackage rec { # Module import will attempt to create a cache directory. postFixup = "export HF_MODULES_CACHE=$TMPDIR"; - pythonImportsCheck = [ "datasets" ]; + pythonImportsCheck = [ + "datasets" + ]; meta = with lib; { + description = "Open-access datasets and evaluation metrics for natural language processing"; homepage = "https://github.com/huggingface/datasets"; - description = "Fast, efficient, open-access datasets and evaluation metrics for natural language processing"; changelog = "https://github.com/huggingface/datasets/releases/tag/${version}"; license = licenses.asl20; platforms = platforms.unix; From 3eacaea9fe1c2d197fc617f8214900e43d2b2fbc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 10:37:39 +0200 Subject: [PATCH 33/40] python3Packages.aioconsole: disable failing test --- pkgs/development/python-modules/aioconsole/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/aioconsole/default.nix b/pkgs/development/python-modules/aioconsole/default.nix index c88f84859391..b178913c0f59 100644 --- a/pkgs/development/python-modules/aioconsole/default.nix +++ b/pkgs/development/python-modules/aioconsole/default.nix @@ -40,6 +40,8 @@ buildPythonPackage rec { disabledTests = [ "test_interact_syntax_error" + # Output and the sandbox don't work well together + "test_interact_multiple_indented_lines" ]; pythonImportsCheck = [ From 260db6847338e008b91e100c30c77320b4d1eba7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Apr 2022 09:21:06 +0000 Subject: [PATCH 34/40] pwntools: 4.7.0 -> 4.8.0 --- pkgs/development/python-modules/pwntools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pwntools/default.nix b/pkgs/development/python-modules/pwntools/default.nix index cfcbf14703b0..6a20a5d4bf27 100644 --- a/pkgs/development/python-modules/pwntools/default.nix +++ b/pkgs/development/python-modules/pwntools/default.nix @@ -27,12 +27,12 @@ let debuggerName = lib.strings.getName debugger; in buildPythonPackage rec { - version = "4.7.0"; + version = "4.8.0"; pname = "pwntools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-dDiOKGdeehkp92PfWhzsaj1YlkEEm2z0drscVuxQqI4="; + sha256 = "sha256-QgUuLYg3EOTh2gQekWdabXGftOXvLdJFyyhT2hEmkpA="; }; postPatch = '' From b4579446069b94baf227b17478f9366f296eae04 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 21 Apr 2022 09:26:31 +0000 Subject: [PATCH 35/40] python310Packages.adafruit-io: 2.6.0 -> 2.7.0 --- pkgs/development/python-modules/adafruit-io/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/adafruit-io/default.nix b/pkgs/development/python-modules/adafruit-io/default.nix index 88bdff440c4a..bd44626f8bcf 100644 --- a/pkgs/development/python-modules/adafruit-io/default.nix +++ b/pkgs/development/python-modules/adafruit-io/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "adafruit-io"; - version = "2.6.0"; + version = "2.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "adafruit"; repo = "Adafruit_IO_Python"; - rev = version; - hash = "sha256-tjm+HvUuLK3IxXwuxPidJaBetj+n0BzKOuLj75bM7a8="; + rev = "refs/tags/${version}"; + hash = "sha256-BIquSrhtRv2NEOn/G6TTfYMrL2OBwwJQYZ455fznwdU="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 1635fb33ae0b9a565a49bb2d8c5e43273ee21bcf Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 21 Apr 2022 11:41:18 +0200 Subject: [PATCH 36/40] grafana-agent: 0.21.2 -> 0.24.1 (#169558) We can skip our little patch. The file was removed in https://github.com/grafana/agent/pull/1362, which includes https://github.com/grafana/agent/pull/1268. The condition to exempt network tests was inverted as part of these PRs, so we now need to set GOFLAGS explicitly to exclude tests that can't run inside the Nix sandbox. --- pkgs/servers/monitoring/grafana-agent/default.nix | 12 ++++++------ .../skip_test_requiring_network.patch | 15 --------------- 2 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 pkgs/servers/monitoring/grafana-agent/skip_test_requiring_network.patch diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix index 4ef0c34e393f..ab342acb258d 100644 --- a/pkgs/servers/monitoring/grafana-agent/default.nix +++ b/pkgs/servers/monitoring/grafana-agent/default.nix @@ -2,20 +2,20 @@ buildGoModule rec { pname = "grafana-agent"; - version = "0.21.2"; + version = "0.24.1"; src = fetchFromGitHub { rev = "v${version}"; owner = "grafana"; repo = "agent"; - sha256 = "sha256-s++21feD3L2HuVYFjWhNIOGTjjX+lXwURc4PqbwFnhI="; + sha256 = "sha256-WxULVtqKxYXMWNY4l0wvTkqcDkPrlHcS70NgQhe8nzU="; }; - vendorSha256 = "sha256-kxLtbElzfimC/ZefUyTlfQiUZo4y0f1riajRm5shVdU="; + vendorSha256 = "sha256-hdo8uiVJAMMPo1N8kLDFPSbyTr5WxNKtq8E7pj6Plak="; - patches = [ - # https://github.com/grafana/agent/issues/731 - ./skip_test_requiring_network.patch + tags = [ + "nonetwork" + "nodocker" ]; # uses go-systemd, which uses libsystemd headers diff --git a/pkgs/servers/monitoring/grafana-agent/skip_test_requiring_network.patch b/pkgs/servers/monitoring/grafana-agent/skip_test_requiring_network.patch deleted file mode 100644 index fcba11dd2fb4..000000000000 --- a/pkgs/servers/monitoring/grafana-agent/skip_test_requiring_network.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/pkg/operator/selector_eventhandler_test.go b/pkg/operator/selector_eventhandler_test.go -index 7b6ec602..e79bae0e 100644 ---- a/pkg/operator/selector_eventhandler_test.go -+++ b/pkg/operator/selector_eventhandler_test.go -@@ -39,6 +39,10 @@ var ( - // TestEnqueueRequestForSelector creates an example Kubenretes cluster and runs - // EnqueueRequestForSelector to validate it works. - func TestEnqueueRequestForSelector(t *testing.T) { -+ // Requires network access, which is not available during -+ // the nixpkgs sandboxed build -+ t.Skip() -+ - l := log.NewNopLogger() - - ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) From bda4e6c10d24e61894096eb0a489b2391219049e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 Apr 2022 12:28:17 +0200 Subject: [PATCH 37/40] python3Packages.impacket: add missing input --- .../python-modules/impacket/default.nix | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/impacket/default.nix b/pkgs/development/python-modules/impacket/default.nix index 82c49cae8bfc..6b6f7e452b27 100644 --- a/pkgs/development/python-modules/impacket/default.nix +++ b/pkgs/development/python-modules/impacket/default.nix @@ -1,20 +1,46 @@ -{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet, setuptools }: +{ lib +, buildPythonPackage +, chardet +, fetchPypi +, flask +, ldapdomaindump +, pyasn1 +, pycryptodomex +, pyopenssl +, pythonOlder +, setuptools +, six +}: buildPythonPackage rec { pname = "impacket"; version = "0.9.24"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "18d557d387f4914fafa739813b9172bc3f8bd9c036e93bf589a8e0ebb7304bba"; + hash = "sha256-GNVX04f0kU+vpzmBO5FyvD+L2cA26Tv1iajg67cwS7o="; }; - propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet setuptools ]; + propagatedBuildInputs = [ + chardet + flask + ldapdomaindump + pyasn1 + pycryptodomex + pyopenssl + setuptools + six + ]; - # fail with: # RecursionError: maximum recursion depth exceeded doCheck = false; - pythonImportsCheck = [ "impacket" ]; + + pythonImportsCheck = [ + "impacket" + ]; meta = with lib; { description = "Network protocols Constructors and Dissectors"; From e0a436357186710e44a2ddba9110d49c400831bc Mon Sep 17 00:00:00 2001 From: Max Wittig Date: Thu, 21 Apr 2022 12:35:07 +0200 Subject: [PATCH 38/40] gitlab-runner: 14.9.1 -> 14.10.0 (#169411) --- .../tools/continuous-integration/gitlab-runner/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix index f2989545f5c4..1fbb42442503 100644 --- a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix @@ -1,7 +1,7 @@ { lib, buildGoModule, fetchFromGitLab, fetchurl }: let - version = "14.9.1"; + version = "14.10.0"; in buildGoModule rec { inherit version; @@ -20,7 +20,7 @@ buildGoModule rec { owner = "gitlab-org"; repo = "gitlab-runner"; rev = "v${version}"; - sha256 = "1h6fyhbc154fr6a8brva3clirgvga6sal6ikylf9mbkxbh7d9rcn"; + sha256 = "033b68hwqk5hn2by4hk1z7v6p08d505grl9hrx72p4wpyk18c80l"; }; patches = [ From be1846ef623b8200624d6dbe2ce92d7d6d09a32c Mon Sep 17 00:00:00 2001 From: Johannes Arnold Date: Tue, 19 Apr 2022 23:17:14 +0200 Subject: [PATCH 39/40] pmbootstrap: 1.41.0 -> 1.43.0 --- pkgs/tools/misc/pmbootstrap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/pmbootstrap/default.nix b/pkgs/tools/misc/pmbootstrap/default.nix index 913bfc00a158..0c09368277b3 100644 --- a/pkgs/tools/misc/pmbootstrap/default.nix +++ b/pkgs/tools/misc/pmbootstrap/default.nix @@ -3,11 +3,11 @@ buildPythonApplication rec { pname = "pmbootstrap"; - version = "1.41.0"; + version = "1.43.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-go3EXmC9Vp0xXi1mH65p85FKsTe0CbyNXw3VVRrnpeQ="; + sha256 = "sha256-4bPxWmzlyVZrkq9qs/5t+ZOsVDkAAwYc6Mc4een4Qnw="; }; repo = fetchFromGitLab { @@ -15,7 +15,7 @@ buildPythonApplication rec { owner = "postmarketOS"; repo = pname; rev = version; - sha256 = "sha256-7Y4rxSdJQaIlq4yiadvrEro0JM5xoHeISDKHz69T4z8="; + sha256 = "sha256-jbTzPGrRVisLG7f4NspkDVB8NYSyyInHkhSUPO3dgU0="; }; pmb_test = "${repo}/test"; From 9c653ec608ee6025ee0187b32634539cf693e8f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Sun, 3 Apr 2022 22:15:42 +0200 Subject: [PATCH 40/40] wasmtime: 0.35.2 -> 0.36.0 --- pkgs/development/interpreters/wasmtime/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/wasmtime/default.nix b/pkgs/development/interpreters/wasmtime/default.nix index 7f00faa76476..a475f53f91f7 100644 --- a/pkgs/development/interpreters/wasmtime/default.nix +++ b/pkgs/development/interpreters/wasmtime/default.nix @@ -2,17 +2,17 @@ rustPlatform.buildRustPackage rec { pname = "wasmtime"; - version = "0.35.2"; + version = "0.36.0"; src = fetchFromGitHub { owner = "bytecodealliance"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4oZglk7MInLIsvbeCfs4InAcmSmzZp16XL5+8eoYXJk="; + sha256 = "sha256-nSA78eQRbJ5JTDquaRqRgFU0V8RVCzvWUONgHxGj+Mc="; fetchSubmodules = true; }; - cargoSha256 = "sha256-IqFOw9bGdM3IEoMeqDlxKfLnZvR80PSnwP9kr1tI/h0="; + cargoSha256 = "sha256-/+uioJRXiugsV7SUwsDNHGaPxrxrhscQUGyXOzzwG/g="; # This environment variable is required so that when wasmtime tries # to run tests by using the rusty_v8 crate, it does not try to