python311Packages.pytado: refactor

This commit is contained in:
Fabian Affolter 2024-01-18 08:30:52 +01:00
parent e683d2dd25
commit 230146360b

View file

@ -4,12 +4,13 @@
, pytestCheckHook , pytestCheckHook
, requests , requests
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytado"; pname = "pytado";
version = "0.17.4"; version = "0.17.4";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,9 +18,13 @@ buildPythonPackage rec {
owner = "wmalgadey"; owner = "wmalgadey";
repo = "PyTado"; repo = "PyTado";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-Wdd9HdsQjaYlL8knhMuO87+dom+aTsmrLRK0UdrpsbQ="; hash = "sha256-Wdd9HdsQjaYlL8knhMuO87+dom+aTsmrLRK0UdrpsbQ=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
requests requests
]; ];