python312Packages.hcloud: refactor

This commit is contained in:
Fabian Affolter 2024-03-27 17:11:51 +01:00 committed by GitHub
parent 8cbed5ee1b
commit c0bbfae6ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,12 +7,13 @@
, python-dateutil
, pythonOlder
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "hcloud";
version = "1.34.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -21,7 +22,11 @@ buildPythonPackage rec {
hash = "sha256-8hwr0K+6nLgAVMhXb/08CS7HrlLYQ/SV0K8MWH/PQk0=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
future
requests
python-dateutil