python3Packages.strct: support setuptools 82 (#535523)

This commit is contained in:
dotlambda 2026-06-27 03:01:03 +00:00 committed by GitHub
commit 931ac3bead
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch,
buildPythonPackage,
setuptools,
pytestCheckHook,
@ -20,6 +21,15 @@ buildPythonPackage rec {
hash = "sha256-4IykGzy1PTrRAbx/sdtzL4My4cDSlplL9rOFBcLbaB8=";
};
patches = [
(fetchpatch {
name = "support-setuptools-82.patch";
url = "https://github.com/shaypal5/strct/commit/5005a939b590cd992d985128a2c1dba230a7fe41.patch";
includes = [ "setup.py" ];
hash = "sha256-0vRRst79G6JZZ+IzBR7rr85nOo0qY0ikVBz4Lvauwbc=";
})
];
# don't append .dev0 to version
env.RELEASING_PROCESS = "1";