mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python312Packages.pyweatherflowrest: modernize
This commit is contained in:
parent
132c353362
commit
0bf7908b1d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user