python312Packages.pyweatherflowrest: modernize
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pyweatherflowrest";
|
||||
version = "1.0.11";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -21,14 +21,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-l1V3HgzqnnoY6sWHwfgBtcIR782RwKhekY2qOLrUMNY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov=pyweatherflowrest --cov-append" ""
|
||||
'';
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
# Module has no tests. test.py is a demo script
|
||||
doCheck = false;
|
||||
|
||||
Reference in New Issue
Block a user