python311Packages.opower: refactor

This commit is contained in:
Fabian Affolter 2024-01-14 10:40:28 +01:00
parent 1a7e636522
commit cfa3f2b8f6

View File

@ -6,14 +6,13 @@
, pyotp
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, setuptools
}:
buildPythonPackage rec {
pname = "opower";
version = "0.2.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.9";
@ -24,13 +23,7 @@ buildPythonPackage rec {
hash = "sha256-OT+QCbHQbL3vCfPuyzxBKqUJ2EtFn+PslrKGlrC6Ip8=";
};
pythonRemoveDeps = [
# https://github.com/tronikos/opower/pull/4
"asyncio"
];
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];