From e70add1c86e7f45745c7299dd2ae00af9c39775e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 22 Mar 2022 19:12:53 +0000 Subject: [PATCH 01/42] tixati: 2.88 -> 2.89 --- pkgs/applications/networking/p2p/tixati/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/tixati/default.nix b/pkgs/applications/networking/p2p/tixati/default.nix index 0d44f084086..9a0cc70c199 100644 --- a/pkgs/applications/networking/p2p/tixati/default.nix +++ b/pkgs/applications/networking/p2p/tixati/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "tixati"; - version = "2.88"; + version = "2.89"; src = fetchurl { url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz"; - sha256 = "sha256-9d9Z+3Uyxy4Bj8STtzHWwyyhWeMv3wo0IH6uxGTaA0I="; + sha256 = "sha256-fd7DMKoRxNmNjCxl2ViINjnCEXJrhJU4aaRT+NoB1vI="; }; installPhase = '' From 9841a677e6bdde14babd9c487c017351588272bd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 23 Mar 2022 05:09:23 +0000 Subject: [PATCH 02/42] argus-clients: 3.0.8.2 -> 3.0.8.3 --- pkgs/tools/networking/argus-clients/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/argus-clients/default.nix b/pkgs/tools/networking/argus-clients/default.nix index cd935a5f5d7..30367eb14e4 100644 --- a/pkgs/tools/networking/argus-clients/default.nix +++ b/pkgs/tools/networking/argus-clients/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "argus-clients"; - version = "3.0.8.2"; + version = "3.0.8.3"; src = fetchurl { url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz"; - sha256 = "1c9vj6ma00gqq9h92fg71sxcsjzz912166sdg90ahvnmvmh3l1rj"; + sha256 = "sha256-uNTvi6zbrYHAivQMPkhlNCoqRW9GOkgKvCf3mInds80="; }; NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ]; From 49df9b76fe99769c676b7c06e30ab7f52e2da01a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 23 Mar 2022 05:25:26 +0000 Subject: [PATCH 03/42] storm: 2.3.0 -> 2.4.0 --- pkgs/servers/computing/storm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/computing/storm/default.nix b/pkgs/servers/computing/storm/default.nix index cf6427c860c..53644d62e65 100644 --- a/pkgs/servers/computing/storm/default.nix +++ b/pkgs/servers/computing/storm/default.nix @@ -7,12 +7,12 @@ stdenv.mkDerivation rec { pname = "apache-storm"; - version = "2.3.0"; + version = "2.4.0"; name = "${pname}-${version}"; src = fetchurl { url = "mirror://apache/storm/${name}/${name}.tar.gz"; - sha256 = "sha256-ScIlWyZjPG/ZY5nFIDOeRZ/NopoOfm0Mh3XO/P9sNjY="; + sha256 = "sha256-VFNcaISPBRMGR5l/P6/pGnK7lHClDW2AmXJ00gzxwMY="; }; nativeBuildInputs = [ zip unzip ]; From 7e397432743a969b161ac1739b2abc7b37f47625 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 23 Mar 2022 06:31:49 +0000 Subject: [PATCH 04/42] garble: 0.5.1 -> 0.6.0 --- pkgs/build-support/go/garble.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/build-support/go/garble.nix b/pkgs/build-support/go/garble.nix index c9bcf2cec15..502aba4e64a 100644 --- a/pkgs/build-support/go/garble.nix +++ b/pkgs/build-support/go/garble.nix @@ -6,16 +6,16 @@ }: buildGoModule rec { pname = "garble"; - version = "0.5.1"; + version = "0.6.0"; src = fetchFromGitHub { owner = "burrowers"; repo = pname; rev = "v${version}"; - sha256 = "sha256-F8O/33o//yGnum9sZo1dzcvf3ifRalva6SDC36iPbDA=="; + sha256 = "sha256-VeqF1MB8knM+NtG9Y+x1g2OF7LFZRC8/c8jicGP3vpo="; }; - vendorSha256 = "sha256-iNH/iBEOTkIhVlDGfI66ZYyVjyH6WrLbUSMyONPjUc4="; + vendorSha256 = "sha256-FQMeA6VUDQa6wpvMoYsigkzukQ0dArAkysiksJWq+iY="; # Used for some of the tests. checkInputs = [git]; From 0c795a8127dbed56a0accd5466f6c7ffb80638d7 Mon Sep 17 00:00:00 2001 From: linj Date: Wed, 23 Mar 2022 17:52:35 +0800 Subject: [PATCH 05/42] nixos/wireguard: fix dependencies on network-related targets wireguard-${name}.service only sets up interfaces and doesn't need to connect to the Internet. See sections of these three network-related targets in systemd manuals[1][2] for more information. Also, remove the redundant multi-user.target in peer units. Fixes #142152 [1]: https://www.freedesktop.org/software/systemd/man/systemd.special.html [2]: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ --- nixos/modules/services/networking/wireguard.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix index 7cd44b2f8a0..a3c3c245f1d 100644 --- a/nixos/modules/services/networking/wireguard.nix +++ b/nixos/modules/services/networking/wireguard.nix @@ -301,8 +301,9 @@ let { description = "WireGuard Peer - ${interfaceName} - ${peer.publicKey}"; requires = [ "wireguard-${interfaceName}.service" ]; - after = [ "wireguard-${interfaceName}.service" ]; - wantedBy = [ "multi-user.target" "wireguard-${interfaceName}.service" ]; + wants = [ "network-online.target" ]; + after = [ "wireguard-${interfaceName}.service" "network-online.target" ]; + wantedBy = [ "wireguard-${interfaceName}.service" ]; environment.DEVICE = interfaceName; environment.WG_ENDPOINT_RESOLUTION_RETRIES = "infinity"; path = with pkgs; [ iproute2 wireguard-tools ]; @@ -379,8 +380,9 @@ let nameValuePair "wireguard-${name}" { description = "WireGuard Tunnel - ${name}"; - requires = [ "network-online.target" ]; - after = [ "network.target" "network-online.target" ]; + after = [ "network-pre.target" ]; + wants = [ "network.target" ]; + before = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; environment.DEVICE = name; path = with pkgs; [ kmod iproute2 wireguard-tools ]; From cef71b49d5acefb82258f5e1d1e07459bc89172f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 24 Mar 2022 05:54:25 +0000 Subject: [PATCH 06/42] wasabibackend: 1.1.13.0 -> 1.1.13.1 --- pkgs/applications/blockchains/wasabibackend/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/wasabibackend/default.nix b/pkgs/applications/blockchains/wasabibackend/default.nix index c7f594e31b4..b6113dfeda4 100644 --- a/pkgs/applications/blockchains/wasabibackend/default.nix +++ b/pkgs/applications/blockchains/wasabibackend/default.nix @@ -10,13 +10,13 @@ buildDotnetModule rec { pname = "wasabibackend"; - version = "1.1.13.0"; + version = "1.1.13.1"; src = fetchFromGitHub { owner = "zkSNACKs"; repo = "WalletWasabi"; rev = "v${version}"; - sha256 = "sha256-zDOk8MurT5NXOr4kvm5mnsphY+eDFWuVBcpeTZpcHOo="; + sha256 = "sha256-Hwav7moG6XKAcR7L0Q7CtifP3zCNRfHIihlaFw+dzbk="; }; projectFile = "WalletWasabi.Backend/WalletWasabi.Backend.csproj"; From 21552c541f70519a3329d001385bd3f573a8ac77 Mon Sep 17 00:00:00 2001 From: Ulrik Strid Date: Thu, 24 Mar 2022 14:54:05 +0100 Subject: [PATCH 07/42] ocamlPackages.graphql_ppx: 1.2.0 -> 1.2.2 --- pkgs/development/ocaml-modules/graphql_ppx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/graphql_ppx/default.nix b/pkgs/development/ocaml-modules/graphql_ppx/default.nix index aa149d60e4d..5c38602e8df 100644 --- a/pkgs/development/ocaml-modules/graphql_ppx/default.nix +++ b/pkgs/development/ocaml-modules/graphql_ppx/default.nix @@ -4,7 +4,7 @@ buildDunePackage rec { pname = "graphql_ppx"; - version = "1.2.0"; + version = "1.2.2"; minimalOCamlVersion = "4.08"; @@ -12,7 +12,7 @@ buildDunePackage rec { owner = "reasonml-community"; repo = "graphql-ppx"; rev = "v${version}"; - sha256 = "1fymmvk616wv5xkwfdmqibdgfl47ry6idc5wfh20a3mz9mpaa13s"; + sha256 = "sha256-+WJhA2ixZHiSZBoX14dnQKk7JfVAIME4JooNSnhRp44="; }; buildInputs = [ ppxlib ]; From ecd8d42397d0142b9b54e1e0664acb43c146fe98 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Thu, 5 May 2022 22:26:54 +0000 Subject: [PATCH 08/42] nextcloud24: init at 24.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added Nextcloud 23 and set it as the default Nextcloud version for the NixOS module. Added PHP 8.1 as an option for phpPackage and default for Nextcloud ≥ 24. --- nixos/modules/services/web-apps/nextcloud.nix | 11 ++++++----- nixos/modules/services/web-apps/nextcloud.xml | 2 +- nixos/tests/nextcloud/default.nix | 2 +- pkgs/servers/nextcloud/default.nix | 6 ++++++ pkgs/top-level/all-packages.nix | 2 +- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index a4b886821eb..b44d8cbbba3 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -153,11 +153,11 @@ in { package = mkOption { type = types.package; description = "Which package to use for the Nextcloud instance."; - relatedPackages = [ "nextcloud22" "nextcloud23" ]; + relatedPackages = [ "nextcloud22" "nextcloud23" "nextcloud24"]; }; phpPackage = mkOption { type = types.package; - relatedPackages = [ "php74" "php80" ]; + relatedPackages = [ "php74" "php80" "php81"]; defaultText = "pkgs.php"; description = '' PHP package to use for Nextcloud. @@ -555,7 +555,7 @@ in { config = mkIf cfg.enable (mkMerge [ { warnings = let - latest = 23; + latest = 24; upgradeWarning = major: nixos: '' A legacy Nextcloud install (from before NixOS ${nixos}) may be installed. @@ -613,14 +613,15 @@ in { '' else if versionOlder stateVersion "21.11" then nextcloud21 else if versionOlder stateVersion "22.05" then nextcloud22 - else nextcloud23 + else nextcloud24 ); services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home; services.nextcloud.phpPackage = if versionOlder cfg.package.version "21" then pkgs.php74 - else pkgs.php80; + else if versionOlder cfg.package.version "24" then pkgs.php80 + else pkgs.php81; } { assertions = [ diff --git a/nixos/modules/services/web-apps/nextcloud.xml b/nixos/modules/services/web-apps/nextcloud.xml index 8f55086a2bd..b46f34420a7 100644 --- a/nixos/modules/services/web-apps/nextcloud.xml +++ b/nixos/modules/services/web-apps/nextcloud.xml @@ -11,7 +11,7 @@ desktop client is packaged at pkgs.nextcloud-client. - The current default by NixOS is nextcloud23 which is also the latest + The current default by NixOS is nextcloud24 which is also the latest major version available.
diff --git a/nixos/tests/nextcloud/default.nix b/nixos/tests/nextcloud/default.nix index b7b1c5c6600..76feac314d5 100644 --- a/nixos/tests/nextcloud/default.nix +++ b/nixos/tests/nextcloud/default.nix @@ -18,4 +18,4 @@ foldl }; }) { } - [ 22 23 ] + [ 22 23 24 ] diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix index e71fb9db115..5b88481d1d2 100644 --- a/pkgs/servers/nextcloud/default.nix +++ b/pkgs/servers/nextcloud/default.nix @@ -54,6 +54,12 @@ in { version = "23.0.4"; sha256 = "67191c2b8b41591ae42accfb32216313fde0e107201682cb39029f890712bc6a"; }; + + nextcloud24 = generic { + version = "24.0.0"; + sha256 = "176cb5620f20465fb4759bdf3caaebeb7acff39d6c8630351af9f8738c173780"; + }; + # tip: get she sha with: # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256' } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8172605a210..2ec1dbc6a02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8600,7 +8600,7 @@ with pkgs; grocy = callPackage ../servers/grocy { }; inherit (callPackage ../servers/nextcloud {}) - nextcloud21 nextcloud22 nextcloud23; + nextcloud21 nextcloud22 nextcloud23 nextcloud24; nextcloud-client = libsForQt5.callPackage ../applications/networking/nextcloud-client { }; From fa7ce6bc7ffb66c4a0762faa58589a3424749901 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 10 May 2022 23:16:52 +0200 Subject: [PATCH 09/42] nixos/openssh: Add sntrup761x25519-sha512 kexAlgo Introduced in OpenSSH 9.0 it became the part of the default kexAlgorithm selection, visibile in sshd_config(5). It is also enabled by default in the OpenSSH client, as can be seen from $ ssh -Q KexAlgorithms Also clarifies that we use the referenced documents as the lower bound, given that they haven't been updated for 5-7y. --- nixos/modules/services/networking/ssh/sshd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index d467c3c0471..6b69d559748 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -293,6 +293,7 @@ in kexAlgorithms = mkOption { type = types.listOf types.str; default = [ + "sntrup761x25519-sha512@openssh.com" "curve25519-sha256" "curve25519-sha256@libssh.org" "diffie-hellman-group-exchange-sha256" @@ -301,7 +302,7 @@ in Allowed key exchange algorithms - Defaults to recommended settings from both + Uses the lower bound recommended in both and From 0c9a754a6ccac679c69fc433816a4d8730bd241d Mon Sep 17 00:00:00 2001 From: Matthias Treydte Date: Fri, 13 May 2022 15:59:12 +0200 Subject: [PATCH 10/42] prometheus: fix build when all service discovery plugins are disabled Since c6fae8bb0e343c067643f49feb5994102b615597, when all discovery plugins are disabled, the postPatch phase contains shell code like > ( ) > plugins.yml which is invalid syntax. So make sure there's always at least one statement for the subshell, giving the expected empty file. --- pkgs/servers/monitoring/prometheus/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/monitoring/prometheus/default.nix b/pkgs/servers/monitoring/prometheus/default.nix index 62cb43abefa..4b79103d7d5 100644 --- a/pkgs/servers/monitoring/prometheus/default.nix +++ b/pkgs/servers/monitoring/prometheus/default.nix @@ -55,6 +55,7 @@ buildGoModule rec { # Enable only select service discovery to shrink binaries. ( + true # prevent bash syntax error when all plugins are disabled ${lib.optionalString (enableAWS) "echo - github.com/prometheus/prometheus/discovery/aws"} ${lib.optionalString (enableAzure) From 1d447b0a21f1f7c4aec098fb261b3b9ef97fa4b4 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 13 May 2022 17:03:30 +0200 Subject: [PATCH 11/42] dlib: 19.23 -> 19.24 ChangeLog: https://github.com/davisking/dlib/compare/v19.23...v19.24 --- pkgs/development/libraries/dlib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/dlib/default.nix b/pkgs/development/libraries/dlib/default.nix index ea6d45e5dff..11a80987dca 100644 --- a/pkgs/development/libraries/dlib/default.nix +++ b/pkgs/development/libraries/dlib/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "dlib"; - version = "19.23"; + version = "19.24"; src = fetchFromGitHub { owner = "davisking"; repo = "dlib"; rev ="v${version}"; - sha256 = "sha256-88vusoLEkjh3WRh/PxPtsVIFk85serRq2VxVcEus3IE="; + sha256 = "sha256-YhIjP9TIIyQF6lBj85gyVRIAAwgIodzh0ViQL8v2ACA="; }; postPatch = '' From 4a6744b2b210d1f04d354aa31a638a172a6d70f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 13 May 2022 19:47:48 +0200 Subject: [PATCH 12/42] proxychains-ng: install default config, zsh completion --- pkgs/tools/networking/proxychains-ng/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/tools/networking/proxychains-ng/default.nix b/pkgs/tools/networking/proxychains-ng/default.nix index 35a6c7d7f87..4f6cd672ac4 100644 --- a/pkgs/tools/networking/proxychains-ng/default.nix +++ b/pkgs/tools/networking/proxychains-ng/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch }: stdenv.mkDerivation rec { @@ -14,6 +15,18 @@ stdenv.mkDerivation rec { sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok="; }; + patches = [ + (fetchpatch { + url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch"; + sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo="; + }) + ]; + + installFlags = [ + "install-config" + "install-zsh-completion" + ]; + meta = with lib; { description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; homepage = "https://github.com/rofl0r/proxychains-ng"; From 0beb34d91744c7c2494e5a227f791165792fbdd6 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sun, 15 May 2022 03:44:05 +0000 Subject: [PATCH 13/42] temporal: 1.15.0 -> 1.16.2 --- .../networking/cluster/temporal/default.nix | 30 +++++++++---------- pkgs/top-level/all-packages.nix | 4 ++- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/pkgs/applications/networking/cluster/temporal/default.nix b/pkgs/applications/networking/cluster/temporal/default.nix index 2475dd0f1d9..db423d619b5 100644 --- a/pkgs/applications/networking/cluster/temporal/default.nix +++ b/pkgs/applications/networking/cluster/temporal/default.nix @@ -1,38 +1,37 @@ -{ lib, fetchFromGitHub, buildGoModule }: +{ lib, fetchFromGitHub, buildGoModule, testers, temporal }: buildGoModule rec { pname = "temporal"; - version = "1.15.0"; + version = "1.16.2"; src = fetchFromGitHub { owner = "temporalio"; repo = "temporal"; rev = "v${version}"; - sha256 = "sha256-5Tu838086qgIa2fqda2xi7vn4JbkENVJH4XU3NwW7Ic="; + sha256 = "sha256-MPfyjRpjfnuVbj+Pd7yIlaEJCiX1IEy/Lwwkv23kugw="; }; - vendorSha256 = "sha256-caRBgkuHQ38r6OsKQCJ2pxAe8s6mc4g/QCIsCEXvY3M="; + vendorSha256 = "sha256-82W1nHhHvvU6poh5szuH9lDkq6YHgyfsJSubxotV270="; - # Errors: - # > === RUN TestNamespaceHandlerGlobalNamespaceDisabledSuite - # gocql: unable to dial control conn 127.0.0.1:9042: dial tcp 127.0.0.1:9042: connect: connection refused - doCheck = false; + CGO_ENABLED = 0; + + ldflags = [ "-s" "-w" ]; + + checkFlags = [ "-short" ]; installPhase = '' runHook preInstall - mkdir -p $out/bin - install -Dm755 "$GOPATH/bin/cli" -T $out/bin/tctl - install -Dm755 "$GOPATH/bin/authorization" -T $out/bin/tctl-authorization-plugin + install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra-tool install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql-tool + runHook postInstall ''; - doInstallCheck = true; - installCheckPhase = '' - $out/bin/tctl --version | grep ${version} > /dev/null - ''; + passthru.tests.version = testers.testVersion { + package = temporal; + }; meta = with lib; { description = "A microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability"; @@ -40,5 +39,6 @@ buildGoModule rec { changelog = "https://github.com/temporalio/temporal/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ titanous ]; + mainProgram = "temporal-server"; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d0f42e685f..a4a161269b3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29916,7 +29916,9 @@ with pkgs; tempo = callPackage ../servers/tracing/tempo {}; - temporal = callPackage ../applications/networking/cluster/temporal { }; + temporal = callPackage ../applications/networking/cluster/temporal { + buildGoModule = buildGo118Module; + }; tenacity = callPackage ../applications/audio/tenacity { wxGTK = wxGTK31-gtk3; }; From bb17d93a56ae3bc47255c6f2136f56afee87d231 Mon Sep 17 00:00:00 2001 From: Thomas Nixon Date: Fri, 25 Mar 2022 02:38:23 +0000 Subject: [PATCH 14/42] zoom-us: 5.9.6.2225 -> 5.10.4.2845 on x86_64-linux --- .../networking/instant-messengers/zoom-us/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index db38a2d0e86..6d74b2ee121 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -33,13 +33,11 @@ let inherit (stdenv.hostPlatform) system; throwSystem = throw "Unsupported system: ${system}"; - # Zoom versions are released at different times for each platform and linux - # is stuck on 5.9.6 until https://github.com/NixOS/nixpkgs/pull/166085 is - # resolved + # Zoom versions are released at different times for each platform version = { aarch64-darwin = "5.10.4.6592"; x86_64-darwin = "5.10.4.6592"; - x86_64-linux = "5.9.6.2225"; + x86_64-linux = "5.10.4.2845"; }.${system} or throwSystem; srcs = { @@ -53,7 +51,7 @@ let }; x86_64-linux = fetchurl { url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; - sha256 = "0rynpw2fjn9j75f34rk0rgqn9wzyzgzmwh1a3xcx7hqingv45k53"; + sha256 = "9gspydrGaEjzAM0nK1u0XNm07HTupJ2wnPxCFWy+Nts="; }; }; From 5791f1c43f97a00ed4c6daf2394e759448620636 Mon Sep 17 00:00:00 2001 From: Clemens Lutz Date: Mon, 28 Mar 2022 16:17:59 +0200 Subject: [PATCH 15/42] zoom-us: Update dependencies --- .../instant-messengers/zoom-us/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index 6d74b2ee121..5445ed88f55 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -7,14 +7,22 @@ # Dynamic libraries , alsa-lib , atk +, at-spi2-atk +, at-spi2-core , cairo +, cups , dbus +, expat +, libdrm , libGL , fontconfig , freetype , gtk3 , gdk-pixbuf , glib +, mesa +, nspr +, nss , pango , wayland , xorg @@ -59,23 +67,34 @@ let # $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found' alsa-lib atk + at-spi2-atk + at-spi2-core cairo + cups dbus + expat + libdrm libGL fontconfig freetype gtk3 gdk-pixbuf glib + mesa + nspr + nss pango stdenv.cc.cc wayland xorg.libX11 xorg.libxcb xorg.libXcomposite + xorg.libXdamage xorg.libXext libxkbcommon + xorg.libXrandr xorg.libXrender + xorg.libxshmfence zlib xorg.xcbutilimage xorg.xcbutilkeysyms From 215155b44065e6b2652535f720fa04ac20e8980f Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 4 Apr 2022 14:00:40 -0500 Subject: [PATCH 16/42] zoom: add dep for udev, fix launching --- .../networking/instant-messengers/zoom-us/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index 5445ed88f55..4a4fc1d28e7 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -27,6 +27,7 @@ , wayland , xorg , libxkbcommon +, udev , zlib # Runtime , coreutils @@ -95,11 +96,12 @@ let xorg.libXrandr xorg.libXrender xorg.libxshmfence - zlib xorg.xcbutilimage xorg.xcbutilkeysyms xorg.libXfixes xorg.libXtst + udev + zlib ] ++ lib.optional (pulseaudioSupport) libpulseaudio); in From fa585a07f65f4ee954758c67db6c75463a6f6560 Mon Sep 17 00:00:00 2001 From: Thomas Nixon Date: Mon, 16 May 2022 18:32:31 +0100 Subject: [PATCH 17/42] zoom-us: change wrapper name to fix IPC --- .../networking/instant-messengers/zoom-us/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index 4a4fc1d28e7..1b15c2aa0cc 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -153,7 +153,9 @@ stdenv.mkDerivation rec { done # ZoomLauncher sets LD_LIBRARY_PATH before execing zoom - wrapProgram $out/opt/zoom/zoom \ + # IPC breaks if the executable name does not end in 'zoom' + mv $out/opt/zoom/zoom $out/opt/zoom/.zoom + makeWrapper $out/opt/zoom/.zoom $out/opt/zoom/zoom \ --prefix LD_LIBRARY_PATH ":" ${libs} rm $out/bin/zoom From 19c42b883f668d17ac8670c19707c6dd9e7bd28b Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Mon, 16 May 2022 19:24:52 +0100 Subject: [PATCH 18/42] trivy: 0.27.1 -> 0.28.0 --- pkgs/tools/admin/trivy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/trivy/default.nix b/pkgs/tools/admin/trivy/default.nix index 66b99c79453..f74c430a146 100644 --- a/pkgs/tools/admin/trivy/default.nix +++ b/pkgs/tools/admin/trivy/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "trivy"; - version = "0.27.1"; + version = "0.28.0"; src = fetchFromGitHub { owner = "aquasecurity"; repo = pname; rev = "v${version}"; - sha256 = "sha256-eyvxBpGuOXicuqINYhl4/fUgN/j+Awe5vgMaMxtAMr0="; + sha256 = "sha256-zyTUGAxUAfrigRNiw03ZXFK+UkpuxwuU2xviZmAPuR8="; }; - vendorSha256 = "sha256-91tq4ipi3JobVgffASn8KRd3JQkgbOx/7PsjKq5vJdE="; + vendorSha256 = "sha256-dgiKWHSm49/CB4dWrNWIzkkmj6Aw4l+9iLa6xe/umq0="; excludedPackages = "misc"; From 6e8aeecde41f3cef17edb912085dd69511cbf43e Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Mon, 16 May 2022 18:25:23 -0700 Subject: [PATCH 19/42] tilt: mark broken on x86_64 Darwin --- pkgs/applications/networking/cluster/tilt/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/tilt/default.nix b/pkgs/applications/networking/cluster/tilt/default.nix index 5532c644c2c..7aaf5b8bc75 100644 --- a/pkgs/applications/networking/cluster/tilt/default.nix +++ b/pkgs/applications/networking/cluster/tilt/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ stdenv, lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "tilt"; @@ -24,5 +24,13 @@ buildGoModule rec { homepage = "https://tilt.dev/"; license = licenses.asl20; maintainers = with maintainers; [ anton-dessiatov ]; + + # TODO: Remove once nixpkgs uses macOS SDK 10.14+ for x86_64-darwin + # Undefined symbols for architecture x86_64: + # "_SecTrustEvaluateWithError", referenced from: + # _crypto/x509/internal/macos.x509_SecTrustEvaluateWithError_trampoline.abi0 in go.o + # "_utimensat", referenced from: + # _syscall.libc_utimensat_trampoline.abi0 in go.o + broken = stdenv.isDarwin && stdenv.isx86_64; }; } From a5f35137c86d0cc66c57ee5ec67d08c9acdf00b5 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 17 May 2022 04:20:00 +0000 Subject: [PATCH 20/42] nodejs-14_x: 14.19.2 -> 14.19.3 https://github.com/nodejs/node/releases/tag/v14.19.3 --- pkgs/development/web/nodejs/v14.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v14.nix b/pkgs/development/web/nodejs/v14.nix index d2f63498947..7cae7dd557a 100644 --- a/pkgs/development/web/nodejs/v14.nix +++ b/pkgs/development/web/nodejs/v14.nix @@ -7,7 +7,7 @@ let in buildNodejs { inherit enableNpm; - version = "14.19.2"; - sha256 = "sha256-70N1qRUv9p8oI9eyCjtTdnoEYWS7rHgkQpyyFtFojPA="; + version = "14.19.3"; + sha256 = "sha256-XPRbHxrKd1I6zzYkDB1TqZknkHCncR6r8jNG+IsMyZQ="; patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; } From 0fb4d8c4b24a816fda8a184b73dfc18369b75047 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 17 May 2022 04:20:00 +0000 Subject: [PATCH 21/42] nodejs-18_x: 18.1.0 -> 18.2.0 https://github.com/nodejs/node/releases/tag/v18.2.0 --- pkgs/development/web/nodejs/v18.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v18.nix b/pkgs/development/web/nodejs/v18.nix index 6a55c20b195..b0a9924cd82 100644 --- a/pkgs/development/web/nodejs/v18.nix +++ b/pkgs/development/web/nodejs/v18.nix @@ -7,8 +7,8 @@ let in buildNodejs { inherit enableNpm; - version = "18.1.0"; - sha256 = "0zhb61ihzslmpl1g3dd6vcxjccc8gwj1v4hfphk7f3cy10hcrc78"; + version = "18.2.0"; + sha256 = "sha256-IwWxXr9VR0dOkFtQAvm6mcfu7wHXOU3+bzhGzGvK1m0="; patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; From 0f2efa91a6b70089b92480ba613571e92322f753 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 17 May 2022 04:20:00 +0000 Subject: [PATCH 22/42] nodejs-17_x: drop Node.js 17 reaches End-of-Life on 2022-06-01. --- pkgs/development/web/nodejs/v17.nix | 15 --------------- pkgs/top-level/all-packages.nix | 4 ---- 2 files changed, 19 deletions(-) delete mode 100644 pkgs/development/web/nodejs/v17.nix diff --git a/pkgs/development/web/nodejs/v17.nix b/pkgs/development/web/nodejs/v17.nix deleted file mode 100644 index 3fbaf223f30..00000000000 --- a/pkgs/development/web/nodejs/v17.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ callPackage, python3, enableNpm ? true }: - -let - buildNodejs = callPackage ./nodejs.nix { - python = python3; - }; -in -buildNodejs { - inherit enableNpm; - version = "17.9.0"; - sha256 = "1q1rr9kvlk9rd35x3x206iy894hq2ywyhqxbb6grak6wcvdgcnan"; - patches = [ - ./disable-darwin-v8-system-instrumentation.patch - ]; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd2206f92bb..4d943a2daad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7841,10 +7841,6 @@ with pkgs; nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix { enableNpm = false; }; - nodejs-17_x = callPackage ../development/web/nodejs/v17.nix { }; - nodejs-slim-17_x = callPackage ../development/web/nodejs/v17.nix { - enableNpm = false; - }; nodejs-18_x = callPackage ../development/web/nodejs/v18.nix { }; nodejs-slim-18_x = callPackage ../development/web/nodejs/v18.nix { enableNpm = false; From 73fe05a563411225e9cb9c8170c24196b03e6c1f Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Tue, 17 May 2022 00:09:32 -0700 Subject: [PATCH 23/42] nodePackages: add meta.mainProgram to packages with multiple executables where none of the executables match the package's `name` or `pname`, and one of the executables is the obvious `mainProgram`. --- pkgs/development/node-packages/main-programs.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/node-packages/main-programs.nix b/pkgs/development/node-packages/main-programs.nix index bb9498a4cc9..8a4b390d65b 100644 --- a/pkgs/development/node-packages/main-programs.nix +++ b/pkgs/development/node-packages/main-programs.nix @@ -2,7 +2,13 @@ # executable that matches that packages name, so that they'll work with `nix run`. { # Packages that provide multiple executables where one is clearly the `mainProgram`. + "@antfu/ni" = "ni"; + "@electron-forge/cli" = "electron-forge"; + "@squoosh/cli" = "squoosh-cli"; + "@webassemblyjs/cli" = "wasm2wast"; + coffee-script = "coffee"; typescript = "tsc"; + vue-cli = "vue"; # Packages that provide a single executable whose name differs from the package's `name`. "@angular/cli" = "ng"; From bf3dca0b580f40c4ab4ff24d0f8c7975a910246e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 May 2022 16:43:46 +0200 Subject: [PATCH 24/42] python310Packages.dulwich: 0.20.36 -> 0.20.38 --- pkgs/development/python-modules/dulwich/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index 479af3a676f..b10d29a5943 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -17,7 +17,7 @@ }: buildPythonPackage rec { - version = "0.20.36"; + version = "0.20.38"; pname = "dulwich"; format = "setuptools"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-2s7xVJwSdffS1v7NLyz6O6ozB9AJpRTAwjIDP2uqXSE="; + hash = "sha256-c0Z5DYc1yG+7xbcLZ08O+UCWweUJm6cnNJFigjmBf8g="; }; LC_ALL = "en_US.UTF-8"; From 42fd630fe77aad9f882c7a96c720b6ed4c08542f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 13 May 2022 19:48:13 +0200 Subject: [PATCH 25/42] proxychains: install default config --- pkgs/tools/networking/proxychains-ng/default.nix | 12 +++++++++++- pkgs/tools/networking/proxychains/default.nix | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/proxychains-ng/default.nix b/pkgs/tools/networking/proxychains-ng/default.nix index 4f6cd672ac4..12b3932b8f9 100644 --- a/pkgs/tools/networking/proxychains-ng/default.nix +++ b/pkgs/tools/networking/proxychains-ng/default.nix @@ -16,17 +16,27 @@ stdenv.mkDerivation rec { }; patches = [ + # zsh completion (fetchpatch { url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch"; sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo="; }) + (fetchpatch { + url = "https://github.com/rofl0r/proxychains-ng/commit/9b42da71f4df7b783cf07a58ffa095e293c43380.patch"; + sha256 = "sha256-tYv9XP51WtsjaoklwQk3D/MQceoOvtdMwBraECt6AXQ="; + }) ]; installFlags = [ "install-config" - "install-zsh-completion" + # TODO: check on next update if that works and remove postInstall + # "install-zsh-completion" ]; + postInstall = '' + ./tools/install.sh -D -m 644 completions/_proxychains $out/share/zsh/site_functions/_proxychains4 + ''; + meta = with lib; { description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; homepage = "https://github.com/rofl0r/proxychains-ng"; diff --git a/pkgs/tools/networking/proxychains/default.nix b/pkgs/tools/networking/proxychains/default.nix index b93c6ae12cf..df692f372c8 100644 --- a/pkgs/tools/networking/proxychains/default.nix +++ b/pkgs/tools/networking/proxychains/default.nix @@ -19,6 +19,10 @@ stdenv.mkDerivation rec { substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation" ''; + installFlags = [ + "install-config" + ]; + meta = with lib; { description = "Proxifier for SOCKS proxies"; homepage = "http://proxychains.sourceforge.net"; From 293b1a9afdf325bd44aad9974dbe420366d37a47 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 May 2022 17:08:07 +0200 Subject: [PATCH 26/42] python310Packages.humanize: 4.0.0 -> 4.1.0 --- .../python-modules/humanize/default.nix | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/humanize/default.nix b/pkgs/development/python-modules/humanize/default.nix index fa13cdab0c2..299bd968594 100644 --- a/pkgs/development/python-modules/humanize/default.nix +++ b/pkgs/development/python-modules/humanize/default.nix @@ -1,25 +1,26 @@ { lib , buildPythonPackage , fetchFromGitHub +, freezegun +, importlib-metadata +, pytestCheckHook , pythonOlder -, setuptools-scm , setuptools -, pytestCheckHook -, freezegun +, setuptools-scm }: buildPythonPackage rec { - version = "4.0.0"; + version = "4.1.0"; pname = "humanize"; format = "pyproject"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = "jmoiron"; + owner = "python-humanize"; repo = pname; rev = version; - sha256 = "sha256-v4OdZmUI2LCick4qCSGOHJ7jtWybwKTeTeIcly+QQQQ="; + hash = "sha256-5xL3gfEohDjnF085Pgx/PBXWWM76X4FU2KR+8OGshMw="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -30,6 +31,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ setuptools + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata ]; checkInputs = [ @@ -37,11 +40,14 @@ buildPythonPackage rec { pytestCheckHook ]; + pythonImportsCheck = [ + "humanize" + ]; + meta = with lib; { description = "Python humanize utilities"; - homepage = "https://github.com/jmoiron/humanize"; + homepage = "https://github.com/python-humanize/humanize"; license = licenses.mit; maintainers = with maintainers; [ rmcgibbo ]; }; - } From 73714678f13f0e8e5cf043d51afcf23e5c18943b Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 17 May 2022 17:53:10 +0100 Subject: [PATCH 27/42] trying to fix darwin build --- pkgs/tools/admin/trivy/default.nix | 7 ++++++- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/admin/trivy/default.nix b/pkgs/tools/admin/trivy/default.nix index f74c430a146..f769850224b 100644 --- a/pkgs/tools/admin/trivy/default.nix +++ b/pkgs/tools/admin/trivy/default.nix @@ -1,6 +1,9 @@ { lib +, stdenv , buildGoModule , fetchFromGitHub +, CoreFoundation +, Security }: buildGoModule rec { @@ -13,11 +16,13 @@ buildGoModule rec { rev = "v${version}"; sha256 = "sha256-zyTUGAxUAfrigRNiw03ZXFK+UkpuxwuU2xviZmAPuR8="; }; - vendorSha256 = "sha256-dgiKWHSm49/CB4dWrNWIzkkmj6Aw4l+9iLa6xe/umq0="; excludedPackages = "misc"; + buildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) + [ CoreFoundation Security ]; + ldflags = [ "-s" "-w" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 03b807a0686..c8964e7793c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5471,6 +5471,7 @@ with pkgs; trivy = callPackage ../tools/admin/trivy { buildGoModule = buildGo118Module; + inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; trompeloeil = callPackage ../development/libraries/trompeloeil { }; From f586c868d3e1b916c26f1fa57207fa5d35e2435e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 May 2022 20:42:02 +0200 Subject: [PATCH 28/42] python310Packages.hahomematic: 1.3.1 -> 1.4.0 --- pkgs/development/python-modules/hahomematic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hahomematic/default.nix b/pkgs/development/python-modules/hahomematic/default.nix index 27c1a673eee..5b205523f25 100644 --- a/pkgs/development/python-modules/hahomematic/default.nix +++ b/pkgs/development/python-modules/hahomematic/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "hahomematic"; - version = "1.3.1"; + version = "1.4.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "danielperna84"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-RgjsaGtji5vSQcv+npOYcXJNYUhx9Snz56BXnfoc2QY="; + sha256 = "sha256-1JYakfs+lLCfB2Ann1QfNw+MBrB9PiixOUqdA7UgbWE="; }; propagatedBuildInputs = [ From 1605472a15e6031fa13a84f35cc9d95a638a237d Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Tue, 17 May 2022 19:44:28 -0400 Subject: [PATCH 29/42] btrfs-progs: install Python bindings btrfs-progs currently builds the Python bindings for libbtrfsutil but doesn't actually install them. With this patch, the bindings are installed and exposed as python3Packages.btrfsutil. --- pkgs/tools/filesystems/btrfs-progs/default.nix | 2 ++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index f9e5340802e..a1b9d2084fe 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -38,6 +38,8 @@ stdenv.mkDerivation rec { makeFlags = lib.optionals stdenv.hostPlatform.isGnu [ "udevruledir=$(out)/lib/udev/rules.d" ]; + installFlags = [ "install_python" ]; + enableParallelBuilding = true; passthru.tests = { diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e25e0968fa7..b6734a5cbdc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1407,6 +1407,8 @@ in { btrfs = callPackage ../development/python-modules/btrfs { }; + btrfsutil = toPythonModule (pkgs.btrfs-progs.override { python3 = self.python; }); + bugsnag = callPackage ../development/python-modules/bugsnag { }; bugwarrior = callPackage ../development/python-modules/bugwarrior { }; From b3445aff661c814a5661413ae12406d4d4130e17 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Tue, 17 May 2022 19:53:44 -0400 Subject: [PATCH 30/42] btrfs-progs: remove obsolete _PYTHON_HOST_PLATFORM This is set automatically by the CPython setup hook. --- pkgs/tools/filesystems/btrfs-progs/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index a1b9d2084fe..9d68d4fa272 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -23,9 +23,6 @@ stdenv.mkDerivation rec { buildInputs = [ acl attr e2fsprogs libuuid lzo python3 zlib zstd ] ++ lib.optionals stdenv.hostPlatform.isGnu [ udev ]; - # for python cross-compiling - _PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config; - # gcc bug with -O1 on ARM with gcc 4.8 # This should be fine on all platforms so apply universally postPatch = "sed -i s/-O1/-O2/ configure"; From a438660fe07be813e6eca27585e62e57c1c135d0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 00:48:30 +0000 Subject: [PATCH 31/42] python310Packages.rns: 0.3.5 -> 0.3.6 --- pkgs/development/python-modules/rns/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rns/default.nix b/pkgs/development/python-modules/rns/default.nix index fde916994a4..26126e92b97 100644 --- a/pkgs/development/python-modules/rns/default.nix +++ b/pkgs/development/python-modules/rns/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "rns"; - version = "0.3.5"; + version = "0.3.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "markqvist"; repo = "Reticulum"; - rev = version; - hash = "sha256-LzrI5pJ3mLaxikqS1eWFvdgneoCnsRTYWbshVX7U8lg="; + rev = "refs/tags/${version}"; + hash = "sha256-awVUE5sViaGBne82oAxGeabZSnLn/dzBQTwP7xRdYKE="; }; propagatedBuildInputs = [ From 0f8888e2c18d520cb83e4c07175a88dcc0157d18 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 05:22:07 +0000 Subject: [PATCH 32/42] python310Packages.elementpath: 2.5.1 -> 2.5.2 --- pkgs/development/python-modules/elementpath/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/elementpath/default.nix b/pkgs/development/python-modules/elementpath/default.nix index e3104d8d882..7f855242ebb 100644 --- a/pkgs/development/python-modules/elementpath/default.nix +++ b/pkgs/development/python-modules/elementpath/default.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { pname = "elementpath"; - version = "2.5.1"; + version = "2.5.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { owner = "sissaschool"; repo = "elementpath"; rev = "refs/tags/v${version}"; - hash = "sha256-tejsQ6m9XyMGDIEDzWYwSav5Iqa9S/DIYShOpoSlTWo="; + hash = "sha256-JmNG6SXig24X34nQXrpMN9ir9+l8o23ddzw2uyR3qb0="; }; # avoid circular dependency with xmlschema which directly depends on this From 99b3c498a2adfe66434417a817bf5e28e29c9afe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 06:01:09 +0000 Subject: [PATCH 33/42] python310Packages.ansible-later: 2.0.12 -> 2.0.13 --- pkgs/development/python-modules/ansible-later/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ansible-later/default.nix b/pkgs/development/python-modules/ansible-later/default.nix index 8ad96e78bcf..c35cfcb6e45 100644 --- a/pkgs/development/python-modules/ansible-later/default.nix +++ b/pkgs/development/python-modules/ansible-later/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "ansible-later"; - version = "2.0.12"; + version = "2.0.13"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "thegeeklab"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-0N/BER7tV8Hv1pvHaf/46BKnzZfHBGuEaPPex/CDQe0="; + hash = "sha256-9xVFvXCHjgF+7asO1ialGIofJwsRRRiydo/Ui2C+Wig="; }; nativeBuildInputs = [ From 477822a5371b4f4d5ff4e4d4140a2803379cfc7d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 06:23:01 +0000 Subject: [PATCH 34/42] python310Packages.cyclonedx-python-lib: 2.3.0 -> 2.4.0 --- .../python-modules/cyclonedx-python-lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cyclonedx-python-lib/default.nix b/pkgs/development/python-modules/cyclonedx-python-lib/default.nix index c8a2eefed24..9e32b3e4fea 100644 --- a/pkgs/development/python-modules/cyclonedx-python-lib/default.nix +++ b/pkgs/development/python-modules/cyclonedx-python-lib/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "cyclonedx-python-lib"; - version = "2.3.0"; + version = "2.4.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "CycloneDX"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-eZy+m6AkSlZM/i64FyFL+ZgeW86MOSM6sDYPT4ckaHE="; + hash = "sha256-IrMXHWeksEmON3LxJvQ3WSKwQTY0aRZ8XItWMr3p4gw="; }; nativeBuildInputs = [ From 451f200f676de18f7ecb54b1652d064c04a3c959 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 03:52:42 +0000 Subject: [PATCH 35/42] python310Packages.xknx: 0.21.2 -> 0.21.3 --- pkgs/development/python-modules/xknx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xknx/default.nix b/pkgs/development/python-modules/xknx/default.nix index 315ba9416d5..87a0fd54d2d 100644 --- a/pkgs/development/python-modules/xknx/default.nix +++ b/pkgs/development/python-modules/xknx/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "xknx"; - version = "0.21.2"; + version = "0.21.3"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "XKNX"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-GEjrqqmlGA6wG5x89AZXd8FLvrKEzCLmVhhZ7FxDB+w="; + sha256 = "sha256-AGKozbVdXfRPvaU1Et8GFu3vdNRLA8ZiV8Xc6T7BhOQ="; }; propagatedBuildInputs = [ From 02c591678f2e9917bce9a7061038c91a6e9a0fde Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 08:21:27 +0000 Subject: [PATCH 36/42] python310Packages.doc8: 0.11.1 -> 0.11.2 --- pkgs/development/python-modules/doc8/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/doc8/default.nix b/pkgs/development/python-modules/doc8/default.nix index c02100e379e..97066662397 100644 --- a/pkgs/development/python-modules/doc8/default.nix +++ b/pkgs/development/python-modules/doc8/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "doc8"; - version = "0.11.1"; + version = "0.11.2"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-bby1Ry79Mydj/7KGK0/e7EDIpv3Gu2fmhxOtdJylgIw="; + sha256 = "sha256-w1ojH4jxXCBGWRVO09SZ+k1ALX5j1By6e1TPXmRhI6s="; }; nativeBuildInputs = [ From 6f80d6836ac46607c2058d928bd4464ea83ffcc8 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 18 May 2022 11:22:31 +0200 Subject: [PATCH 37/42] nixos/nextcloud: mariadb workaround is for versions >=24 not needed anymore --- nixos/modules/services/web-apps/nextcloud.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index b44d8cbbba3..66d9b2647e6 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -872,7 +872,7 @@ in { # FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6, # this is a workaround. # See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22 - settings = { + settings = mkIf (versionOlder cfg.package.version "24") { mysqld = { innodb_read_only_compressed = 0; }; From cf412af251157812f69596d1353ad9e49c031d2e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 09:32:51 +0000 Subject: [PATCH 38/42] python310Packages.urlextract: 1.5.0 -> 1.6.0 --- pkgs/development/python-modules/urlextract/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/urlextract/default.nix b/pkgs/development/python-modules/urlextract/default.nix index 8d2c62de4e8..ce520ba1cca 100644 --- a/pkgs/development/python-modules/urlextract/default.nix +++ b/pkgs/development/python-modules/urlextract/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "urlextract"; - version = "1.5.0"; + version = "1.6.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-QKXIQ9HXJTdY9W8NZ0jF6iekoUVl46kvJakW3cTB5B8="; + hash = "sha256-V08NjFYtN3M2pRVIQMfk7s9UwQKlOJcciX9zEwdaiIc="; }; propagatedBuildInputs = [ From e46bff95697e7a6d8345770c2b26fc542b29b676 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 18 May 2022 11:47:50 +0200 Subject: [PATCH 39/42] nixos/nextcloud: upgrade instructions / info for v23 --- nixos/modules/services/web-apps/nextcloud.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 66d9b2647e6..d45c4eed020 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -591,6 +591,7 @@ in { ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05")) ++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11")) ++ (optional (versionOlder cfg.package.version "23") (upgradeWarning 22 "22.05")) + ++ (optional (versionOlder cfg.package.version "24") (upgradeWarning 23 "22.05")) ++ (optional isUnsupportedMariadb '' You seem to be using MariaDB at an unsupported version (i.e. at least 10.6)! Please note that this isn't supported officially by Nextcloud. You can either From a0bcf1e9ea964f07128c99d39daa486b0cfca00d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 18 May 2022 11:50:53 +0200 Subject: [PATCH 40/42] nixos/nextcloud: styling --- nixos/modules/services/web-apps/nextcloud.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index d45c4eed020..940aa9b220b 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -153,11 +153,11 @@ in { package = mkOption { type = types.package; description = "Which package to use for the Nextcloud instance."; - relatedPackages = [ "nextcloud22" "nextcloud23" "nextcloud24"]; + relatedPackages = [ "nextcloud22" "nextcloud23" "nextcloud24" ]; }; phpPackage = mkOption { type = types.package; - relatedPackages = [ "php74" "php80" "php81"]; + relatedPackages = [ "php74" "php80" "php81" ]; defaultText = "pkgs.php"; description = '' PHP package to use for Nextcloud. From b85e96bb2bdd61cb553d0e71da32c4134c66da42 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 10:25:42 +0000 Subject: [PATCH 41/42] python310Packages.plugwise: 0.18.3 -> 0.18.4 --- pkgs/development/python-modules/plugwise/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plugwise/default.nix b/pkgs/development/python-modules/plugwise/default.nix index 7bbfbdb27d3..ef88131bea6 100644 --- a/pkgs/development/python-modules/plugwise/default.nix +++ b/pkgs/development/python-modules/plugwise/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "plugwise"; - version = "0.18.3"; + version = "0.18.4"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = pname; repo = "python-plugwise"; rev = "refs/tags/v${version}"; - sha256 = "sha256-aNlPOgUChLFkPPZtb3o4A49uoSBjxKaq3WtuupHlmi8="; + sha256 = "sha256-a4mbkwjdLOnoxe4Cj43IXGALqbTKqinoJAiPWfc79/8="; }; propagatedBuildInputs = [ From ff78be018d9e6661ca1e867aa6bd7d5a1f04a9d8 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 18 May 2022 09:32:58 +0000 Subject: [PATCH 42/42] cgit,cgit-pink: enableParallelBuilding Tested at -j48. --- .../version-management/git-and-tools/cgit/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/version-management/git-and-tools/cgit/common.nix b/pkgs/applications/version-management/git-and-tools/cgit/common.nix index d6b787315b8..0cbc04b7bcc 100644 --- a/pkgs/applications/version-management/git-and-tools/cgit/common.nix +++ b/pkgs/applications/version-management/git-and-tools/cgit/common.nix @@ -68,6 +68,8 @@ stdenv.mkDerivation { stripDebugList = [ "cgit" ]; + enableParallelBuilding = true; + meta = { inherit homepage description; license = lib.licenses.gpl2;