Skip to content

Commit df76cd6

Browse files
authored
python312Packages.stumpy: fix build (#354540)
2 parents 182fa20 + 9479182 commit df76cd6

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
setuptools,
6+
setuptools-scm,
57
numpy,
68
scipy,
79
numba,
@@ -15,7 +17,7 @@
1517
buildPythonPackage rec {
1618
pname = "stumpy";
1719
version = "1.13.0";
18-
format = "setuptools";
20+
pyproject = true;
1921

2022
disabled = pythonOlder "3.7";
2123

@@ -26,7 +28,12 @@ buildPythonPackage rec {
2628
hash = "sha256-S+Rb6pHphXfbqz4VMnN1p7ZrlWB/g7XCdy/T5/Q8VD8=";
2729
};
2830

29-
propagatedBuildInputs = [
31+
build-system = [
32+
setuptools
33+
setuptools-scm
34+
];
35+
36+
dependencies = [
3037
numpy
3138
scipy
3239
numba
@@ -47,10 +54,11 @@ buildPythonPackage rec {
4754
"tests/test_core.py"
4855
];
4956

50-
meta = with lib; {
57+
meta = {
5158
description = "Library that can be used for a variety of time series data mining tasks";
59+
changelog = "https://github.com/TDAmeritrade/stumpy/blob/${src.rev}/CHANGELOG.md";
5260
homepage = "https://github.com/TDAmeritrade/stumpy";
53-
license = licenses.bsd3;
61+
license = lib.licenses.bsd3;
5462
maintainers = [ ];
5563
};
5664
}

0 commit comments

Comments
 (0)