Skip to content

Commit 85455bb

Browse files
authored
python312Packages.walrus: 0.9.3 -> 0.9.4 (#352413)
2 parents 0510f26 + 79de238 commit 85455bb

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

pkgs/development/python-modules/walrus/default.nix

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,31 @@
11
{
22
lib,
3-
pkgs,
43
buildPythonPackage,
54
fetchFromGitHub,
5+
pkgs,
66
pythonOlder,
77
redis,
8+
setuptools,
89
unittestCheckHook,
9-
fetchpatch,
1010
}:
1111

1212
buildPythonPackage rec {
1313
pname = "walrus";
14-
version = "0.9.3";
15-
format = "setuptools";
14+
version = "0.9.4";
15+
pyproject = true;
1616

1717
disabled = pythonOlder "3.7";
1818

1919
src = fetchFromGitHub {
2020
owner = "coleifer";
2121
repo = "walrus";
2222
rev = "refs/tags/${version}";
23-
hash = "sha256-jinYMGSBAY8HTg92qU/iU5vGIrrDr5SeQG0XjsBVfcc=";
23+
hash = "sha256-cvoRiaGGTpZWfSE6DDT6GwDmc/TC/Z/E76Qy9Zzkpsw=";
2424
};
2525

26-
patches = [
27-
# distutils has been deprecated, this wraps its import inside a try-catch
28-
# and fallsback to a fallback import.
29-
# Should not be necessary in future versions.
30-
(fetchpatch {
31-
url = "https://github.com/coleifer/walrus/commit/79e20c89aa4015017ef8a3e0b5c27ca2731dc9b2.patch";
32-
hash = "sha256-hCpvki6SV3KYhicjjUMP4VrKMEerMjq2n1BgozXKDO8=";
33-
})
34-
];
35-
36-
propagatedBuildInputs = [ redis ];
26+
build-system = [ setuptools ];
27+
28+
dependencies = [ redis ];
3729

3830
nativeCheckInputs = [ unittestCheckHook ];
3931

0 commit comments

Comments
 (0)