Skip to content

Commit c9f2720

Browse files
committed
python312Packages.prometheus-api-client: refactor
1 parent 41f3fbb commit c9f2720

File tree

1 file changed

+5
-2
lines changed
  • pkgs/development/python-modules/prometheus-api-client

1 file changed

+5
-2
lines changed

pkgs/development/python-modules/prometheus-api-client/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
matplotlib,
99
numpy,
1010
pandas,
11+
setuptools,
1112
requests,
1213
}:
1314

1415
buildPythonPackage rec {
1516
pname = "prometheus-api-client";
1617
version = "0.5.7";
17-
format = "setuptools";
18+
pyproject = true;
1819

1920
src = fetchFromGitHub {
2021
owner = "4n4nd";
@@ -23,7 +24,9 @@ buildPythonPackage rec {
2324
hash = "sha256-XmsBEGerEA7kEigkVpDYpe1UfEKvEzV/0uY3sffRC7s=";
2425
};
2526

26-
propagatedBuildInputs = [
27+
build-system = [ setuptools ];
28+
29+
dependencies = [
2730
dateparser
2831
matplotlib
2932
numpy

0 commit comments

Comments
 (0)