Merge staging-next into staging

This commit is contained in:
nixpkgs-ci[bot]
2025-08-20 12:07:45 +00:00
committed by GitHub
4 changed files with 21 additions and 20 deletions
+8 -1
View File
@@ -12,6 +12,13 @@ python3Packages.buildPythonApplication {
inherit (opensnitch) src version;
sourceRoot = "${opensnitch.src.name}/ui";
patches = [
# https://github.com/evilsocket/opensnitch/pull/1413
# unicode-slugify has failing tests and is overall unmaintained and broken.
# python-slugify is a preferrable replacement
./use_python_slugify.patch
];
postPatch = ''
substituteInPlace opensnitch/utils/__init__.py \
--replace-fail /usr/lib/python3/dist-packages/data ${python3Packages.pyasn}/${python3Packages.python.sitePackages}/pyasn/data
@@ -38,7 +45,7 @@ python3Packages.buildPythonApplication {
pyinotify
pyqt5
qt-material
unicode-slugify
python-slugify
unidecode
];
@@ -0,0 +1,11 @@
diff --git a/requirements.txt b/requirements.txt
index 66e0de13..68d651b1 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
grpcio-tools>=1.10.1
pyinotify==0.9.6
-unicode_slugify==0.1.5
+python-slugify>=7.0.0
pyqt5>=5.6
protobuf
@@ -21,7 +21,7 @@
libxcrypt-legacy,
libxkbcommon,
libkrb5,
libxml2,
libxml2_13,
krb5,
makeWrapper,
markForCudatoolkitRootHook,
@@ -157,14 +157,7 @@ backendStdenv.mkDerivation {
python311
]
++ lib.optionals (cudaAtLeast "12.9") [
# Replace once https://github.com/NixOS/nixpkgs/pull/421740 is merged.
(libxml2.overrideAttrs rec {
version = "2.13.8";
src = fetchurl {
url = "mirror://gnome/sources/libxml2/${lib.versions.majorMinor version}/libxml2-${version}.tar.xz";
hash = "sha256-J3KUyzMRmrcbK8gfL0Rem8lDW4k60VuyzSsOhZoO6Eo=";
};
})
libxml2_13
python312
];
@@ -27,16 +27,6 @@ buildPythonPackage rec {
hash = "sha256-cHFxb7lWUj/7ATynoMGQkhArKWCHHLYvQG5IoaXwVBs=";
};
patches = [
# Update to FontTools 4.55 and glyphsLib 6.9.5
# https://github.com/googlefonts/fontmake/pull/1133
(fetchpatch2 {
url = "https://github.com/googlefonts/fontmake/commit/ca96d25faa67638930ddc7f9bd1ab218a76caf22.patch";
includes = [ "tests/test_main.py" ];
hash = "sha256-vz+KeWiGCpUdX5HaXDdyyUCbuMkIylB364j6cD7xR1E=";
})
];
build-system = [
setuptools
setuptools-scm