From c2952baf6aca7471eccaff502875c8502d174f38 Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Sat, 8 Oct 2022 17:46:52 +0200 Subject: [PATCH 01/28] osrm-backend: 5.26.0 -> 5.27.1 https://github.com/Project-OSRM/osrm-backend/blob/v5.27.1/CHANGELOG.md --- pkgs/servers/osrm-backend/darwin.patch | 30 -------------- pkgs/servers/osrm-backend/default.nix | 56 +++++++++++++++++++++----- pkgs/top-level/all-packages.nix | 6 ++- 3 files changed, 50 insertions(+), 42 deletions(-) delete mode 100644 pkgs/servers/osrm-backend/darwin.patch diff --git a/pkgs/servers/osrm-backend/darwin.patch b/pkgs/servers/osrm-backend/darwin.patch deleted file mode 100644 index 0aa57e4e1b81..000000000000 --- a/pkgs/servers/osrm-backend/darwin.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e49fac2..25e3302 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -34,6 +34,14 @@ option(ENABLE_GLIBC_WORKAROUND "Workaround GLIBC symbol exports" OFF) - - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") - -+IF(APPLE) -+ set(CMAKE_THREAD_LIBS_INIT "-lpthread") -+ set(CMAKE_HAVE_THREADS_LIBRARY 1) -+ set(CMAKE_USE_WIN32_THREADS_INIT 0) -+ set(CMAKE_USE_PTHREADS_INIT 1) -+ set(THREADS_PREFER_PTHREAD_FLAG ON) -+ENDIF() -+ - if(ENABLE_MASON) - # versions in use - set(MASON_BOOST_VERSION "1.65.1") -@@ -405,7 +413,8 @@ endif() - if(APPLE) - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10") - execute_process(COMMAND xcrun --sdk macosx --show-sdk-path OUTPUT_VARIABLE CMAKE_OSX_SYSROOT OUTPUT_STRIP_TRAILING_WHITESPACE) -+ execute_process(COMMAND uname -m OUTPUT_VARIABLE JAMBA_OSX_NATIVE_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE) -- set(CMAKE_OSX_ARCHITECTURES "x86_64") -+ set(CMAKE_OSX_ARCHITECTURES "${JAMBA_OSX_NATIVE_ARCHITECTURE}") -+ message(STATUS "Set Architecture to ${JAMBA_OSX_NATIVE_ARCHITECTURE} on OS X") -- message(STATUS "Set Architecture to x64 on OS X") - exec_program(uname ARGS -v OUTPUT_VARIABLE DARWIN_VERSION) - string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION}) diff --git a/pkgs/servers/osrm-backend/default.nix b/pkgs/servers/osrm-backend/default.nix index bf1d588ff1a6..23a3d85b91e2 100644 --- a/pkgs/servers/osrm-backend/default.nix +++ b/pkgs/servers/osrm-backend/default.nix @@ -1,19 +1,47 @@ -{lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, bzip2, libxml2, libzip, boost179, lua, luabind, tbb, expat}: +{ + lib, + stdenv, + fetchFromGitHub, + fetchpatch, + cmake, + pkg-config, + bzip2, + libxml2, + libzip, + boost, + lua, + luabind, + tbb, + expat, + nixosTests, +}: stdenv.mkDerivation rec { pname = "osrm-backend"; - version = "5.26.0"; + version = "5.27.1"; src = fetchFromGitHub { - owner = "Project-OSRM"; - repo = "osrm-backend"; + owner = "Project-OSRM"; + repo = "osrm-backend"; rev = "v${version}"; - sha256 = "sha256-kqRYE26aeq7nCen56TJo3BlyLFWn4NMltsq+re64/VQ="; + sha256 = "sha256-3oA/U5O4GLfwMF7x99JQuFK7ewDrLJLh6BBLYfnyNaM="; }; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ + cmake + pkg-config + ]; - buildInputs = [ bzip2 libxml2 libzip boost179 lua luabind tbb expat ]; + buildInputs = [ + bzip2 + libxml2 + libzip + boost + lua + luabind + tbb + expat + ]; patches = [ # gcc-13 build fix: @@ -23,8 +51,6 @@ stdenv.mkDerivation rec { url = "https://github.com/Project-OSRM/osrm-backend/commit/af59a9cfaee4d601b5c88391624a05f2a38da17b.patch"; hash = "sha256-dB9JP/DrJXpFGLD/paein2z64UtHIYZ17ycb91XWpEI="; }) - - ./darwin.patch ]; env.NIX_CFLAGS_COMPILE = toString [ @@ -35,13 +61,21 @@ stdenv.mkDerivation rec { "-Wno-error=array-bounds" ]; - postInstall = "mkdir -p $out/share/osrm-backend && cp -r ../profiles $out/share/osrm-backend/profiles"; + postInstall = '' + mkdir -p $out/share/osrm-backend + cp -r ../profiles $out/share/osrm-backend/profiles + ''; + + passthru.tests = { + inherit (nixosTests) osrm-backend; + }; meta = { homepage = "https://github.com/Project-OSRM/osrm-backend/wiki"; description = "Open Source Routing Machine computes shortest paths in a graph. It was designed to run well with map data from the Openstreetmap Project"; + changelog = "https://github.com/Project-OSRM/osrm-backend/blob/master/CHANGELOG.md"; license = lib.licenses.bsd2; - maintainers = with lib.maintainers;[ erictapen ]; + maintainers = with lib.maintainers; [ erictapen ]; platforms = lib.platforms.unix; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5fbca08484c9..35a624703b69 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25755,7 +25755,11 @@ with pkgs; openxr-loader = callPackage ../development/libraries/openxr-loader { }; - osrm-backend = callPackage ../servers/osrm-backend { }; + osrm-backend = callPackage ../servers/osrm-backend { + tbb = tbb_2021_11; + # https://github.com/Project-OSRM/osrm-backend/issues/6503 + boost = boost179; + }; oven-media-engine = callPackage ../servers/misc/oven-media-engine { }; From 967b47b0065b1304aad4e3a016dec88fd8a500a3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 3 Aug 2024 13:17:18 +0000 Subject: [PATCH 02/28] lint-staged: 15.2.7 -> 15.2.8 --- pkgs/by-name/li/lint-staged/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/lint-staged/package.nix b/pkgs/by-name/li/lint-staged/package.nix index dc5b5988ed15..2ddcbdccaf1e 100644 --- a/pkgs/by-name/li/lint-staged/package.nix +++ b/pkgs/by-name/li/lint-staged/package.nix @@ -2,16 +2,16 @@ buildNpmPackage rec { pname = "lint-staged"; - version = "15.2.7"; + version = "15.2.8"; src = fetchFromGitHub { owner = "okonet"; repo = "lint-staged"; rev = "v${version}"; - hash = "sha256-V7NJ8UWORo+APCVJmC6l6uQUazLrG94O9V4yC3McBp4="; + hash = "sha256-N1mPtF23YP1yeVNUPIxCAFK3ozOCMKV3ZTt+axIWFmQ="; }; - npmDepsHash = "sha256-9Twg9jppFkp0cpxJfBVmWRMwKsXnJ+tUBH8qMYAm1cY="; + npmDepsHash = "sha256-ivlbaTCvVbs7k4zpP7fFbMdWuO5rOcT/5451PQh2CKs="; dontNpmBuild = true; From c69834549099973e96a54cc7ded844fcdad8209f Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Fri, 9 Aug 2024 18:56:38 +0200 Subject: [PATCH 03/28] python3Packages.cxxheaderparser: init at 1.3.3 --- .../cxxheaderparser/default.nix | 39 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/cxxheaderparser/default.nix diff --git a/pkgs/development/python-modules/cxxheaderparser/default.nix b/pkgs/development/python-modules/cxxheaderparser/default.nix new file mode 100644 index 000000000000..b35cc118359c --- /dev/null +++ b/pkgs/development/python-modules/cxxheaderparser/default.nix @@ -0,0 +1,39 @@ +{ + buildPythonPackage, + fetchFromGitHub, + lib, + pcpp, + pytestCheckHook, + setuptools, +}: + +buildPythonPackage rec { + pname = "cxxheaderparser"; + version = "1.3.3"; + pyproject = true; + + src = fetchFromGitHub { + owner = "robotpy"; + repo = "cxxheaderparser"; + rev = version; + hash = "sha256-dc+MsSJFeRho6DG21QQZSAq4PmRZl7OlWhIQNisicZo="; + }; + + postPatch = '' + # version.py is generated based on latest git tag + echo "__version__ = '${version}'" > cxxheaderparser/version.py + ''; + + build-system = [ setuptools ]; + + checkInputs = [ pcpp ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "cxxheaderparser" ]; + + meta = { + description = "Modern pure python C++ header parser"; + homepage = "https://github.com/robotpy/cxxheaderparser"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ nim65s ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2db166c95e91..ca6049a095d3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2733,6 +2733,8 @@ self: super: with self; { cxxfilt = callPackage ../development/python-modules/cxxfilt { }; + cxxheaderparser = callPackage ../development/python-modules/cxxheaderparser { }; + cycler = callPackage ../development/python-modules/cycler { }; cyclonedx-python-lib = callPackage ../development/python-modules/cyclonedx-python-lib { }; From 339bf0725388a9f2a949a6e2c8d825e0a04fea7f Mon Sep 17 00:00:00 2001 From: ghpzin Date: Sat, 10 Aug 2024 14:02:28 +0300 Subject: [PATCH 04/28] bumblebee-status: fix build with python 3.12 --- .../window-managers/i3/bumblebee-status/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/window-managers/i3/bumblebee-status/default.nix b/pkgs/applications/window-managers/i3/bumblebee-status/default.nix index 634667218148..99b5b203ee2f 100644 --- a/pkgs/applications/window-managers/i3/bumblebee-status/default.nix +++ b/pkgs/applications/window-managers/i3/bumblebee-status/default.nix @@ -2,6 +2,7 @@ , lib , glibcLocales , python +, fetchpatch , fetchFromGitHub # Usage: bumblebee-status.override { plugins = p: [p.arandr p.bluetooth2]; }; , plugins ? p: [ ] @@ -29,6 +30,15 @@ python.pkgs.buildPythonPackage { hash = "sha256-+RCg2XZv0AJnexi7vnQhEXB1qSoKBN1yKWm3etdys1s="; }; + patches = [ + # fix build with Python 3.12 + # https://github.com/tobi-wan-kenobi/bumblebee-status/pull/1019 + (fetchpatch { + url = "https://github.com/tobi-wan-kenobi/bumblebee-status/commit/2fe8f1ff1444daf155b18318005f33a76a5d64b4.patch"; + hash = "sha256-BC1cgQDMJkhuEgq8NJ28521CHbEfqIMueHkFXXlZz2w="; + }) + ]; + buildInputs = lib.concatMap (p: p.buildInputs or [ ]) selectedPlugins; propagatedBuildInputs = lib.concatMap (p: p.propagatedBuildInputs or [ ]) selectedPlugins; From 7e6ccfc8caf4e8cfaf015a6985927e6b5a4ddf35 Mon Sep 17 00:00:00 2001 From: ghpzin Date: Sat, 10 Aug 2024 15:34:08 +0300 Subject: [PATCH 05/28] stm32loader: fix build with python 3.12 --- .../development/python-modules/stm32loader/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/stm32loader/default.nix b/pkgs/development/python-modules/stm32loader/default.nix index 0744764df1ae..4fab0c1b3077 100644 --- a/pkgs/development/python-modules/stm32loader/default.nix +++ b/pkgs/development/python-modules/stm32loader/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + fetchpatch2, # build-system flit-core, @@ -27,6 +28,15 @@ buildPythonPackage rec { hash = "sha256-QTLSEjdJtDH4GCamnKHN5pEjW41rRtAMXxyZZMM5K3w="; }; + patches = [ + # fix build with python 3.12 + # https://github.com/florisla/stm32loader/pull/79 + (fetchpatch2 { + url = "https://github.com/florisla/stm32loader/commit/96f59b2984b0d0371b2da0360d6e8d94d0b39a68.patch?full_index=1"; + hash = "sha256-JUEjQWOnzeMA1OELS214OR7+MYUkCKN5lxwsmRoFbfo="; + }) + ]; + nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ From 6aeccc827d6129c315469d80c93db72b78761b48 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 11 Aug 2024 15:15:20 +0000 Subject: [PATCH 06/28] python312Packages.anthropic: 0.32.0 -> 0.33.0 --- pkgs/development/python-modules/anthropic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 1cdc8595e296..27b6ee0acf94 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "anthropic"; - version = "0.32.0"; + version = "0.33.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "anthropics"; repo = "anthropic-sdk-python"; rev = "refs/tags/v${version}"; - hash = "sha256-en2vaHI+fE4Jrh91EtFyWRBr+k6KVPanwiOXkZBi3Ts="; + hash = "sha256-Xaj4FPveqiivud6Hi/LlRkM9/8jrvX6IDirO/laad5U="; }; build-system = [ From 6aabdad150eeeeee4ed5cbef2e31964fcfcf1ee9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 11 Aug 2024 16:58:51 +0000 Subject: [PATCH 07/28] qovery-cli: 1.1.0 -> 1.2.0 --- pkgs/tools/admin/qovery-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/qovery-cli/default.nix b/pkgs/tools/admin/qovery-cli/default.nix index e6bbc47d42b3..c98f40ff1486 100644 --- a/pkgs/tools/admin/qovery-cli/default.nix +++ b/pkgs/tools/admin/qovery-cli/default.nix @@ -9,13 +9,13 @@ buildGoModule rec { pname = "qovery-cli"; - version = "1.1.0"; + version = "1.2.0"; src = fetchFromGitHub { owner = "Qovery"; repo = "qovery-cli"; rev = "refs/tags/v${version}"; - hash = "sha256-4ltABwLWP/KfJ+xApshVz+U4tbAlXf0SLrK84xe76zo="; + hash = "sha256-Gsyobjo5LPoTnvy76Absa0xog/iMzbz40PS4AOycRos="; }; vendorHash = "sha256-z7O0IAXGCXV63WjaRG+7c7q/rlqkV12XWNLhsduvk6s="; From 57a30e4cbded50ed364361353a918345dc42ae3d Mon Sep 17 00:00:00 2001 From: r-vdp Date: Sun, 11 Aug 2024 19:03:05 +0200 Subject: [PATCH 08/28] specialisation: limit the allowed characters in specialisation names Since the systemd boot counting PR was merged, dashes in specialisation names cause issues when installing the boot loader entries, since dashes are also used as separator for the different components of the file name of the boot loader entries on disk. The assertion avoids this footgun which is pretty annoying to recover from. --- .../system/activation/specialisation.nix | 19 ++++++++++- nixos/tests/nixos-rebuild-specialisations.nix | 33 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/activation/specialisation.nix b/nixos/modules/system/activation/specialisation.nix index fdab287802fa..fc348ad94c03 100644 --- a/nixos/modules/system/activation/specialisation.nix +++ b/nixos/modules/system/activation/specialisation.nix @@ -1,10 +1,14 @@ -{ config, lib, pkgs, extendModules, noUserModules, ... }: +{ config, lib, extendModules, noUserModules, ... }: let inherit (lib) + attrNames concatStringsSep + filter + length mapAttrs mapAttrsToList + match mkOption types ; @@ -73,6 +77,19 @@ in }; config = { + assertions = [( + let + invalidNames = filter (name: match "[[:alnum:]_]+" name == null) (attrNames config.specialisation); + in + { + assertion = length invalidNames == 0; + message = '' + Specialisation names can only contain alphanumeric characters and underscores + Invalid specialisation names: ${concatStringsSep ", " invalidNames} + ''; + } + )]; + system.systemBuilderCommands = '' mkdir $out/specialisation ${concatStringsSep "\n" diff --git a/nixos/tests/nixos-rebuild-specialisations.nix b/nixos/tests/nixos-rebuild-specialisations.nix index 9192b8a8a030..a5b916f7d7e9 100644 --- a/nixos/tests/nixos-rebuild-specialisations.nix +++ b/nixos/tests/nixos-rebuild-specialisations.nix @@ -71,6 +71,32 @@ import ./make-test-python.nix ({ pkgs, ... }: { } ''; + wrongConfigFile = pkgs.writeText "configuration.nix" '' + { lib, pkgs, ... }: { + imports = [ + ./hardware-configuration.nix + + ]; + + boot.loader.grub = { + enable = true; + device = "/dev/vda"; + forceInstall = true; + }; + + documentation.enable = false; + + environment.systemPackages = [ + (pkgs.writeShellScriptBin "parent" "") + ]; + + specialisation.foo-bar = { + inheritParentConfig = true; + + configuration = { ... }: { }; + }; + } + ''; in '' machine.start() @@ -116,5 +142,12 @@ import ./make-test-python.nix ({ pkgs, ... }: { with subtest("Make sure nonsense command combinations are forbidden"): machine.fail("nixos-rebuild boot --specialisation foo") machine.fail("nixos-rebuild boot -c foo") + + machine.copy_from_host( + "${wrongConfigFile}", + "/etc/nixos/configuration.nix", + ) + with subtest("Make sure that invalid specialisation names are rejected"): + machine.fail("nixos-rebuild switch") ''; }) From ba5ed99861d836c33e0ebe94fda254a3e050dcba Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 11 Aug 2024 22:18:48 +0100 Subject: [PATCH 09/28] x265: fix build on x86_64-darwin Update to 3.6 pulled in local definition of `__rdtsc()` symbol in the test suite and caused symbol clash: /tmp/nix-build-x265-3.6.drv-0/x265_3.6/source/test/testharness.h:78:24: error: static declaration of '__rdtsc' follows non-static declaration static inline uint32_t __rdtsc(void) ^ /tmp/nix-build-x265-3.6.drv-0/x265_3.6/source/test/testharness.h:78:24: note: '__rdtsc' is a builtin with type 2 The change avoids redefinition if the compiler already provides the builtin. --- .../libraries/x265/darwin-__rdtsc.patch | 29 +++++++++++++++++++ pkgs/development/libraries/x265/default.nix | 6 ++++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/libraries/x265/darwin-__rdtsc.patch diff --git a/pkgs/development/libraries/x265/darwin-__rdtsc.patch b/pkgs/development/libraries/x265/darwin-__rdtsc.patch new file mode 100644 index 000000000000..a052f818af10 --- /dev/null +++ b/pkgs/development/libraries/x265/darwin-__rdtsc.patch @@ -0,0 +1,29 @@ +From 5ad351f7d271d0be0611797542c831898b2f531c Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Sun, 11 Aug 2024 22:09:34 +0100 +Subject: [PATCH] source/test/testharness.h: don't redefine `__rdtsc()` builtin + +On darwin clang-16 provides `__rdtsc()` builtin. As a result the build +fails in `nixpkgs` as: + + source/test/testharness.h:78:24: error: static declaration of '__rdtsc' follows non-static declaration + static inline uint32_t __rdtsc(void) + ^ + x265_3.6/source/test/testharness.h:78:24: note: '__rdtsc' is a builtin with type 2 + +The change avoid redefinition on targets that define `__rdtsc()` builtin. +--- + source/test/testharness.h | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/test/testharness.h ++++ b/test/testharness.h +@@ -69,6 +69,8 @@ protected: + #include + #elif HAVE_RDTSC + #include ++#elif defined(__has_builtin) && __has_builtin(__rdtsc) ++/* compiler-provided builtin */ + #elif (!defined(__APPLE__) && (defined (__GNUC__) && (defined(__x86_64__) || defined(__i386__)))) + #include + #elif ( !defined(__APPLE__) && defined (__GNUC__) && defined(__ARM_NEON__)) diff --git a/pkgs/development/libraries/x265/default.nix b/pkgs/development/libraries/x265/default.nix index e58e910c2bba..3d10538314f0 100644 --- a/pkgs/development/libraries/x265/default.nix +++ b/pkgs/development/libraries/x265/default.nix @@ -41,6 +41,12 @@ stdenv.mkDerivation rec { hash = "sha256-ZjUx80HFOJ9GDXMOYuEKT8yjQoyiyhCWk4Z7xf4uKAc="; }; + # TODO: apply patch unconditionally in staging. It's conditional to + # save rebuild on staging-next. + patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ + ./darwin-__rdtsc.patch + ]; + sourceRoot = "x265_${version}/source"; postPatch = '' From d38257b024216705d8cbb055aea4714be19f1c13 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Sun, 11 Aug 2024 23:33:18 +0200 Subject: [PATCH 10/28] systemd-boot-builder: allow underscores in the specialisation name --- .../system/boot/loader/systemd-boot/systemd-boot-builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py index 846787985cea..c4324a8eae5b 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py @@ -65,7 +65,7 @@ class Entry: # Matching nixos*-generation-$number*.conf rex_generation = re.compile(r"^nixos.*-generation-([0-9]+).*\.conf$") # Matching nixos*-generation-$number-specialisation-$specialisation_name*.conf - rex_specialisation = re.compile(r"^nixos.*-generation-([0-9]+)-specialisation-([a-zA-Z0-9]+).*\.conf$") + rex_specialisation = re.compile(r"^nixos.*-generation-([0-9]+)-specialisation-([a-zA-Z0-9_]+).*\.conf$") profile = rex_profile.sub(r"\1", filename) if rex_profile.match(filename) else None specialisation = rex_specialisation.sub(r"\2", filename) if rex_specialisation.match(filename) else None try: From 59e71a27214b4276c2e1e4eda25f9c5d50a3f85a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 11 Aug 2024 22:50:13 +0000 Subject: [PATCH 11/28] quarkus: 3.13.0 -> 3.13.2 --- pkgs/by-name/qu/quarkus/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/qu/quarkus/package.nix b/pkgs/by-name/qu/quarkus/package.nix index 150f43176cd8..afd37f851173 100644 --- a/pkgs/by-name/qu/quarkus/package.nix +++ b/pkgs/by-name/qu/quarkus/package.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "quarkus-cli"; - version = "3.13.0"; + version = "3.13.2"; src = fetchurl { url = "https://github.com/quarkusio/quarkus/releases/download/${finalAttrs.version}/quarkus-cli-${finalAttrs.version}.tar.gz"; - hash = "sha256-KWVbEtT3uluvLqbRk4tLPA7tGn9gf+Ee5hBrzlWtuhg="; + hash = "sha256-6rt40cQde6ck0Eq3YRfN+l2QP18CHTxFj2EJyiPgkrE="; }; nativeBuildInputs = [ makeWrapper ]; From a86c86ccf401ecefefd81fd1d6ba41d7f1879e8b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 00:39:25 +0000 Subject: [PATCH 12/28] rqlite: 8.26.8 -> 8.28.0 --- pkgs/servers/sql/rqlite/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/sql/rqlite/default.nix b/pkgs/servers/sql/rqlite/default.nix index af4e21103379..fef02cfb7ba6 100644 --- a/pkgs/servers/sql/rqlite/default.nix +++ b/pkgs/servers/sql/rqlite/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "rqlite"; - version = "8.26.8"; + version = "8.28.0"; src = fetchFromGitHub { owner = "rqlite"; repo = pname; rev = "v${version}"; - sha256 = "sha256-1mwrI3OAhkk7VSNxy47g5xt5PcWiHUCSjFw9UtDeqTM="; + sha256 = "sha256-FhoD88j+uG1AvZ4ce1hwHCFH0cxvlsljf2iv7zAiXLQ="; }; - vendorHash = "sha256-Hxo5pFz8IGvHoB5N2S6VOWVu4U/Fwit1x1WpbckKCeU="; + vendorHash = "sha256-WQSdRPU8T02HdKTivLrvdd81XMhqFms0SA0zohicsjA="; subPackages = [ "cmd/rqlite" "cmd/rqlited" "cmd/rqbench" ]; From 32ba582b2a00f5c38efd34de894bca89045f5e25 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 00:50:26 +0000 Subject: [PATCH 13/28] rustdesk-server: 1.1.11 -> 1.1.11-1 --- pkgs/servers/rustdesk-server/Cargo.lock | 2 +- pkgs/servers/rustdesk-server/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/rustdesk-server/Cargo.lock b/pkgs/servers/rustdesk-server/Cargo.lock index bb7082ebee49..6ff99fcd9868 100644 --- a/pkgs/servers/rustdesk-server/Cargo.lock +++ b/pkgs/servers/rustdesk-server/Cargo.lock @@ -779,7 +779,7 @@ dependencies = [ [[package]] name = "hbbs" -version = "1.1.11" +version = "1.1.11-1" dependencies = [ "async-speed-limit", "async-trait", diff --git a/pkgs/servers/rustdesk-server/default.nix b/pkgs/servers/rustdesk-server/default.nix index 247d707a9c9d..14cc9afcf484 100644 --- a/pkgs/servers/rustdesk-server/default.nix +++ b/pkgs/servers/rustdesk-server/default.nix @@ -13,13 +13,13 @@ rustPlatform.buildRustPackage rec { pname = "rustdesk-server"; - version = "1.1.11"; + version = "1.1.11-1"; src = fetchFromGitHub { owner = "rustdesk"; repo = "rustdesk-server"; rev = version; - hash = "sha256-wGV7Fsil26qs0BYI8G5pVJDvJvNIyrd/yaIJaGAodpw="; + hash = "sha256-dAw1xKyZovPkz1qw58QymIvv7ABhmHs2lFx/H6g7GgI="; }; cargoLock = { From b8b44ee053dc2621b10b5d7921bd9e7a3c0824f6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 01:03:41 +0000 Subject: [PATCH 14/28] gtk-pipe-viewer: 0.5.1 -> 0.5.2 --- pkgs/applications/video/pipe-viewer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/pipe-viewer/default.nix b/pkgs/applications/video/pipe-viewer/default.nix index c1cef4aa9cbd..e95e1a1346a2 100644 --- a/pkgs/applications/video/pipe-viewer/default.nix +++ b/pkgs/applications/video/pipe-viewer/default.nix @@ -37,13 +37,13 @@ let in buildPerlModule rec { pname = "pipe-viewer"; - version = "0.5.1"; + version = "0.5.2"; src = fetchFromGitHub { owner = "trizen"; repo = "pipe-viewer"; rev = version; - hash = "sha256-GTmva1pDG1g2wZoS3ABYxhWdbARdlcS0rxGjkdJL7js="; + hash = "sha256-TCcAQjz0B3eWILMAoqHCnMLvu8zD0W5wOFg+UaMPmXg="; }; nativeBuildInputs = [ makeWrapper ] From b8d7fbe1486e82a7ece6a9be784175af3d76cd4a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 01:07:57 +0000 Subject: [PATCH 15/28] hishtory: 0.302 -> 0.303 --- pkgs/shells/hishtory/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/hishtory/default.nix b/pkgs/shells/hishtory/default.nix index dfbcc416572f..b177cd6d754f 100644 --- a/pkgs/shells/hishtory/default.nix +++ b/pkgs/shells/hishtory/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "hishtory"; - version = "0.302"; + version = "0.303"; src = fetchFromGitHub { owner = "ddworken"; repo = pname; rev = "v${version}"; - hash = "sha256-hqOAHjYYfK74Zvlgyo3i6ljIsvE75+oJccSfCfkS8K4="; + hash = "sha256-uhORdve07JARKT/BD0VLK6XnN4nehXODswczrALK0MQ="; }; - vendorHash = "sha256-5O2UXpQEs/LCnFnP7g+JYifbSeHjzbnoX9KuIKbqVdE="; + vendorHash = "sha256-qQIyeqNF8unmpJG4+kekF2KDQjcpFanJp7siX+jWRwQ="; ldflags = [ "-X github.com/ddworken/hishtory/client/lib.Version=${version}" ]; From a33ca8335c7805e285fec6e5757fed9769225157 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 01:56:32 +0000 Subject: [PATCH 16/28] marwaita-orange: 20.3 -> 20.3.1 --- pkgs/by-name/ma/marwaita-orange/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ma/marwaita-orange/package.nix b/pkgs/by-name/ma/marwaita-orange/package.nix index bcf0baf2c9ae..2079e209b0db 100644 --- a/pkgs/by-name/ma/marwaita-orange/package.nix +++ b/pkgs/by-name/ma/marwaita-orange/package.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation rec { pname = "marwaita-orange"; - version = "20.3"; + version = "20.3.1"; src = fetchFromGitHub { owner = "darkomarko42"; repo = pname; rev = version; - hash = "sha256-RT7+LmauSAavl4ZA9vuKNrh/x8cGUb9V4RecxI/fN+E="; + hash = "sha256-DdtFAUoIT51kGrEz1IpLvuJMEL+pMDICobuNV6UfC6Q="; }; buildInputs = [ From 67645e89ec5c9759254e38754036ae66a191df4d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 02:30:07 +0000 Subject: [PATCH 17/28] python312Packages.moonraker-api: 2.0.5 -> 2.0.6 --- pkgs/development/python-modules/moonraker-api/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/moonraker-api/default.nix b/pkgs/development/python-modules/moonraker-api/default.nix index c06a8dc9b268..8e6ffa019cb7 100644 --- a/pkgs/development/python-modules/moonraker-api/default.nix +++ b/pkgs/development/python-modules/moonraker-api/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "moonraker-api"; - version = "2.0.5"; + version = "2.0.6"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "cmroche"; repo = pname; - rev = "v${version}"; - hash = "sha256-PgFsXmdAmHXK0wZ6xLTu94RdME1L2H1Mb6V+qFlGXSk="; + rev = "refs/tags/v${version}"; + hash = "sha256-AwSHF9BbxKBXIQdG4OX1vYYP/ST4jSz3uMMDUx0MSEg="; }; postPatch = '' From 6a7a0c488be4e535ace54a9071bcdeba5a90a1d5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 02:35:42 +0000 Subject: [PATCH 18/28] python312Packages.pyatv: 0.14.5 -> 0.15.0 --- pkgs/development/python-modules/pyatv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix index 846c1d71a76a..eea3e1c69702 100644 --- a/pkgs/development/python-modules/pyatv/default.nix +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { pname = "pyatv"; - version = "0.14.5"; + version = "0.15.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -39,7 +39,7 @@ buildPythonPackage rec { owner = "postlund"; repo = "pyatv"; rev = "refs/tags/v${version}"; - hash = "sha256-Uykj9MIUFcZyTWOBjUhL9+qItbnpwtuTd2Cx5jI7Wtw="; + hash = "sha256-59XDh+TA4UYzfLJtbTiMC6Wz7EvUW22ONM4JQw5t/5o="; }; postPatch = '' From af31f4321b4a30fe2fe0da598d6f421c39006f88 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 02:37:58 +0000 Subject: [PATCH 19/28] python312Packages.qtile: 0.27.0 -> 0.28.0 --- pkgs/development/python-modules/qtile/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qtile/default.nix b/pkgs/development/python-modules/qtile/default.nix index 72b6629a752d..45dc3f3c8dc3 100644 --- a/pkgs/development/python-modules/qtile/default.nix +++ b/pkgs/development/python-modules/qtile/default.nix @@ -35,14 +35,14 @@ buildPythonPackage rec { pname = "qtile"; - version = "0.27.0"; + version = "0.28.0"; pyproject = true; src = fetchFromGitHub { owner = "qtile"; repo = "qtile"; rev = "refs/tags/v${version}"; - hash = "sha256-FO83i6nnMGY4eGsPYFfLuQPbN9ngUWXQMguBYqGrehg="; + hash = "sha256-cAzVQaw8rnitr6LJBQYEmnGWQ+1ATaqBdTbOaZbGewo="; }; patches = [ From ae16dda224edbf624f0016b6489933d45ab55a08 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 03:18:41 +0000 Subject: [PATCH 20/28] vaultwarden: 1.31.0 -> 1.32.0 --- pkgs/tools/security/vaultwarden/default.nix | 6 +++--- pkgs/tools/security/vaultwarden/webvault.nix | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/security/vaultwarden/default.nix b/pkgs/tools/security/vaultwarden/default.nix index 5bdee189f03b..0487f82e1876 100644 --- a/pkgs/tools/security/vaultwarden/default.nix +++ b/pkgs/tools/security/vaultwarden/default.nix @@ -9,16 +9,16 @@ in rustPlatform.buildRustPackage rec { pname = "vaultwarden"; - version = "1.31.0"; + version = "1.32.0"; src = fetchFromGitHub { owner = "dani-garcia"; repo = "vaultwarden"; rev = version; - hash = "sha256-fQjTSLPJQk1byjX+HADtQvQRqEaEiCmWjgA1WIMLBu4="; + hash = "sha256-y8+hkvUKj0leJJ5w72HOVDSOtKW6y2Y44VfOZSetn4M="; }; - cargoHash = "sha256-VWKkZvuv+B9V6pgxZRGlLIRUdLEh61RpOfEnOtEBKU0="; + cargoHash = "sha256-1Z0ba1FhxQ5qVpofi0XD1MYz02QCvdXGeuViW3lU6JQ="; # used for "Server Installed" version in admin panel env.VW_VERSION = version; diff --git a/pkgs/tools/security/vaultwarden/webvault.nix b/pkgs/tools/security/vaultwarden/webvault.nix index d777fd70006b..a20ce16cec5c 100644 --- a/pkgs/tools/security/vaultwarden/webvault.nix +++ b/pkgs/tools/security/vaultwarden/webvault.nix @@ -8,13 +8,13 @@ }: let - version = "2024.5.1b"; + version = "2024.6.2b"; bw_web_builds = fetchFromGitHub { owner = "dani-garcia"; repo = "bw_web_builds"; rev = "v${version}"; - hash = "sha256-5nlFt05ari9ovl+CaoyR/X9BzhsmsGyDt6eGLJ5ae/4="; + hash = "sha256-Gcn/TOXdhMqGq4NTCPQTTEvN5rOQS3LImPUYBsv8de8="; }; in buildNpmPackage rec { @@ -25,10 +25,10 @@ in buildNpmPackage rec { owner = "bitwarden"; repo = "clients"; rev = "web-v${lib.removeSuffix "b" version}"; - hash = "sha256-U/lAt2HfoHGMu6mOki/4+ljhU9FwkodvFBr5zcDO8Wk="; + hash = "sha256-HMQ0oQ04WkLlUgsYt6ZpcziDq05mnSA0+VnJCpteceg="; }; - npmDepsHash = "sha256-ui00afmnu77CTT9gh6asc4uT7AhVIuiD60sq/1f9viA="; + npmDepsHash = "sha256-zMzQEM5mV14gewzYhy1F2bNEugXjZSOviYwYVV2Cb8c="; postPatch = '' ln -s ${bw_web_builds}/{patches,resources} .. From f4ca316d1ce67bda97627746f5534d3aa9115f5c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 04:10:09 +0000 Subject: [PATCH 21/28] openvas-scanner: 23.8.2 -> 23.8.4 --- pkgs/by-name/op/openvas-scanner/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/op/openvas-scanner/package.nix b/pkgs/by-name/op/openvas-scanner/package.nix index baba85269424..cf8bdac642de 100644 --- a/pkgs/by-name/op/openvas-scanner/package.nix +++ b/pkgs/by-name/op/openvas-scanner/package.nix @@ -31,13 +31,13 @@ stdenv.mkDerivation rec { pname = "openvas-scanner"; - version = "23.8.2"; + version = "23.8.4"; src = fetchFromGitHub { owner = "greenbone"; repo = "openvas-scanner"; rev = "refs/tags/v${version}"; - hash = "sha256-sHu6GF+T5Ce2aiGccv9uM+KdAWCLB8CCXujxgxhg4Ho="; + hash = "sha256-Bxna9ylQ9MZf/YWLIVI61tRjU5H4Ipqkiz+z21qiaGg="; }; nativeBuildInputs = [ From 3cddf1e43e062b1cc073125f86c93b7ba8a50246 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 05:33:58 +0000 Subject: [PATCH 22/28] maa-cli: 0.4.9 -> 0.4.10 --- pkgs/by-name/ma/maa-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ma/maa-cli/package.nix b/pkgs/by-name/ma/maa-cli/package.nix index f92e80bc2b3f..d51abe1b6a72 100644 --- a/pkgs/by-name/ma/maa-cli/package.nix +++ b/pkgs/by-name/ma/maa-cli/package.nix @@ -15,13 +15,13 @@ rustPlatform.buildRustPackage rec { pname = "maa-cli"; - version = "0.4.9"; + version = "0.4.10"; src = fetchFromGitHub { owner = "MaaAssistantArknights"; repo = "maa-cli"; rev = "v${version}"; - hash = "sha256-klcS4SNMB5bAy4Gzk9NgbjbZL+7kh0lNXwIwJoXBbVU="; + hash = "sha256-qCIA+VN7mSfeLwN+O2wm0CYDQMCUQzZrj5RxpDEEKQk="; }; nativeBuildInputs = [ @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { buildNoDefaultFeatures = true; buildFeatures = [ "git2" ]; - cargoHash = "sha256-C4NkJc7msyaUjQAsc0kbDwkr0cj3Esv+JjA24RvFsXA="; + cargoHash = "sha256-exLXowD2QTW4IZHIO3PDv6cf0O0deNPuqrCIcTnnJQA="; # maa-cli would only seach libMaaCore.so and resources in itself's path # https://github.com/MaaAssistantArknights/maa-cli/issues/67 From 57bdc120268a7b77e110454f0d2d46c2c1871be6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 12 Aug 2024 05:41:49 +0000 Subject: [PATCH 23/28] gh-dash: 4.5.0 -> 4.5.2 --- pkgs/by-name/gh/gh-dash/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gh/gh-dash/package.nix b/pkgs/by-name/gh/gh-dash/package.nix index 904a010e0b5e..178573509c40 100644 --- a/pkgs/by-name/gh/gh-dash/package.nix +++ b/pkgs/by-name/gh/gh-dash/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "gh-dash"; - version = "4.5.0"; + version = "4.5.2"; src = fetchFromGitHub { owner = "dlvhdr"; repo = "gh-dash"; rev = "v${version}"; - hash = "sha256-zLKQbw9d20KKuK5j9RhZPLSDRrw5SQ8vycIEfRmUEzI="; + hash = "sha256-lOJN4wSxE3VX/Pb8Aa+ex6hkiPieFelmtn84+SmzOxE="; }; vendorHash = "sha256-JOd2czYWVgE1jBfeuoVRp+oE/asyk50o5Pf021jD5mY="; From 3e71409ff44f4e58fef872ac1d28a32eee2ce680 Mon Sep 17 00:00:00 2001 From: datafoo <34766150+datafoo@users.noreply.github.com> Date: Mon, 12 Aug 2024 08:15:36 +0200 Subject: [PATCH 24/28] vscode-extensions.elixir-lsp.vscode-elixir-ls: 0.23.0 -> 0.23.1 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 65b013afa937..5566ac82e42c 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1625,8 +1625,8 @@ let mktplcRef = { name = "elixir-ls"; publisher = "JakeBecker"; - version = "0.23.0"; - hash = "sha256-eqS/xYK7yh7MvPAl61o1ZJ9wH9amqngJupU+puDq9xs="; + version = "0.23.1"; + hash = "sha256-rwpaixQbuxVkH4wlKPG4Qk69IylwjfCtyfUcqCuN/e8="; }; meta = { changelog = "https://marketplace.visualstudio.com/items/JakeBecker.elixir-ls/changelog"; From 4729f86bf65c9854b831114c09466d6153899d5d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Aug 2024 09:19:05 +0200 Subject: [PATCH 25/28] python312Packages.argilla: add sourceRoot --- pkgs/development/python-modules/argilla/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/argilla/default.nix b/pkgs/development/python-modules/argilla/default.nix index cbfeb2c87c7e..fe4c731740d9 100644 --- a/pkgs/development/python-modules/argilla/default.nix +++ b/pkgs/development/python-modules/argilla/default.nix @@ -28,6 +28,7 @@ packaging, pandas, passlib, + setuptools, peft, pgmpy, plotly, @@ -47,11 +48,10 @@ scikit-learn, sentence-transformers, seqeval, - setuptools, smart-open, snorkel, - spacy, spacy-transformers, + spacy, sqlalchemy, tqdm, transformers, @@ -79,6 +79,8 @@ buildPythonPackage rec { hash = "sha256-+eQNvLDV063JY6CyngpGyo4NdSd6HvAHFgGWtPfZNVQ="; }; + sourceRoot = "${src.name}/${pname}"; + pythonRelaxDeps = [ "httpx" "numpy" @@ -89,7 +91,6 @@ buildPythonPackage rec { build-system = [ setuptools ]; - dependencies = [ httpx deprecated From 3e0bebf722da1cd83a6e9d63cbcbef96ff364f10 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Aug 2024 09:21:11 +0200 Subject: [PATCH 26/28] python312Packages.argilla: 1.29.0 -> 1.29.1 Diff: https://github.com/argilla-io/argilla/compare/refs/tags/v1.29.0...1.29.1 Changelog: https://github.com/argilla-io/argilla/releases/tag/v1.29.1 --- pkgs/development/python-modules/argilla/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/argilla/default.nix b/pkgs/development/python-modules/argilla/default.nix index fe4c731740d9..50ea4cbb74f8 100644 --- a/pkgs/development/python-modules/argilla/default.nix +++ b/pkgs/development/python-modules/argilla/default.nix @@ -67,7 +67,7 @@ buildPythonPackage rec { pname = "argilla"; - version = "1.29.0"; + version = "1.29.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -76,7 +76,7 @@ buildPythonPackage rec { owner = "argilla-io"; repo = "argilla"; rev = "refs/tags/v${version}"; - hash = "sha256-+eQNvLDV063JY6CyngpGyo4NdSd6HvAHFgGWtPfZNVQ="; + hash = "sha256-ndendXlgACFdwnZ/P2W22Tr/Ji8AYw/6jtb8F3/zqSA="; }; sourceRoot = "${src.name}/${pname}"; From 3a5037b91bc834960214a081d9689f1327e3ca23 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Aug 2024 09:33:24 +0200 Subject: [PATCH 27/28] python312Packages.dask-expr: update source hash Fix build (https://hydra.nixos.org/build/268996535) --- pkgs/development/python-modules/dask-expr/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/dask-expr/default.nix b/pkgs/development/python-modules/dask-expr/default.nix index 35fc7eb3c8f0..14364c864281 100644 --- a/pkgs/development/python-modules/dask-expr/default.nix +++ b/pkgs/development/python-modules/dask-expr/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "dask"; repo = "dask-expr"; rev = "refs/tags/v${version}"; - hash = "sha256-JLOTmpaKDyv4dgEM/dQFeQrD0OZcwNxBi7/pq/STJYY="; + hash = "sha256-z/+0d/mcC51rXfSCkVosc2iJ9SKHuKlPO+n/+SisQBg="; }; postPatch = '' From 9a645edbb7589406621d1c5d759b9cfa594f980f Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Mon, 12 Aug 2024 11:09:36 +0200 Subject: [PATCH 28/28] github-runner: move to by-name (#333309) Allow the merge bot to work --- .../gi}/github-runner/deps.nix | 0 .../default.nix => by-name/gi/github-runner/package.nix} | 6 +++--- .../gi}/github-runner/patches/dont-install-service.patch | 0 .../gi}/github-runner/patches/env-sh-use-runner-root.patch | 0 .../gi}/github-runner/patches/host-context-dirs.patch | 0 .../github-runner/patches/use-get-directory-for-diag.patch | 0 .../gi}/github-runner/update.sh | 0 pkgs/top-level/all-packages.nix | 4 ---- 8 files changed, 3 insertions(+), 7 deletions(-) rename pkgs/{development/tools/continuous-integration => by-name/gi}/github-runner/deps.nix (100%) rename pkgs/{development/tools/continuous-integration/github-runner/default.nix => by-name/gi/github-runner/package.nix} (99%) rename pkgs/{development/tools/continuous-integration => by-name/gi}/github-runner/patches/dont-install-service.patch (100%) rename pkgs/{development/tools/continuous-integration => by-name/gi}/github-runner/patches/env-sh-use-runner-root.patch (100%) rename pkgs/{development/tools/continuous-integration => by-name/gi}/github-runner/patches/host-context-dirs.patch (100%) rename pkgs/{development/tools/continuous-integration => by-name/gi}/github-runner/patches/use-get-directory-for-diag.patch (100%) rename pkgs/{development/tools/continuous-integration => by-name/gi}/github-runner/update.sh (100%) diff --git a/pkgs/development/tools/continuous-integration/github-runner/deps.nix b/pkgs/by-name/gi/github-runner/deps.nix similarity index 100% rename from pkgs/development/tools/continuous-integration/github-runner/deps.nix rename to pkgs/by-name/gi/github-runner/deps.nix diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/by-name/gi/github-runner/package.nix similarity index 99% rename from pkgs/development/tools/continuous-integration/github-runner/default.nix rename to pkgs/by-name/gi/github-runner/package.nix index c859e7415e13..0d0cca441db0 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/by-name/gi/github-runner/package.nix @@ -1,5 +1,5 @@ -{ autoSignDarwinBinariesHook -, buildDotnetModule +{ buildDotnetModule +, darwin , dotnetCorePackages , fetchFromGitHub , fetchpatch @@ -114,7 +114,7 @@ buildDotnetModule rec { which git ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ - autoSignDarwinBinariesHook + darwin.autoSignDarwinBinariesHook ]; buildInputs = [ stdenv.cc.cc.lib ]; diff --git a/pkgs/development/tools/continuous-integration/github-runner/patches/dont-install-service.patch b/pkgs/by-name/gi/github-runner/patches/dont-install-service.patch similarity index 100% rename from pkgs/development/tools/continuous-integration/github-runner/patches/dont-install-service.patch rename to pkgs/by-name/gi/github-runner/patches/dont-install-service.patch diff --git a/pkgs/development/tools/continuous-integration/github-runner/patches/env-sh-use-runner-root.patch b/pkgs/by-name/gi/github-runner/patches/env-sh-use-runner-root.patch similarity index 100% rename from pkgs/development/tools/continuous-integration/github-runner/patches/env-sh-use-runner-root.patch rename to pkgs/by-name/gi/github-runner/patches/env-sh-use-runner-root.patch diff --git a/pkgs/development/tools/continuous-integration/github-runner/patches/host-context-dirs.patch b/pkgs/by-name/gi/github-runner/patches/host-context-dirs.patch similarity index 100% rename from pkgs/development/tools/continuous-integration/github-runner/patches/host-context-dirs.patch rename to pkgs/by-name/gi/github-runner/patches/host-context-dirs.patch diff --git a/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch b/pkgs/by-name/gi/github-runner/patches/use-get-directory-for-diag.patch similarity index 100% rename from pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch rename to pkgs/by-name/gi/github-runner/patches/use-get-directory-for-diag.patch diff --git a/pkgs/development/tools/continuous-integration/github-runner/update.sh b/pkgs/by-name/gi/github-runner/update.sh similarity index 100% rename from pkgs/development/tools/continuous-integration/github-runner/update.sh rename to pkgs/by-name/gi/github-runner/update.sh diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8c1f3828dbc7..61530ac2ca3a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8136,10 +8136,6 @@ with pkgs; github-backup = callPackage ../tools/misc/github-backup { }; - github-runner = callPackage ../development/tools/continuous-integration/github-runner { - inherit (darwin) autoSignDarwinBinariesHook; - }; - gitkraken = callPackage ../applications/version-management/gitkraken { }; gitlab = callPackage ../applications/version-management/gitlab { };