mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python312Packages.pyosohotwaterapi: modernize
This commit is contained in:
parent
50fd60c9f5
commit
e61286763b
@ -25,18 +25,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-7FLGmmndrFqSl4oC8QFIYNlFJPr+xbiZG5ZRt4vx8+s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/osohotwateriot/apyosohotwaterapi/pull/3
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "pre-commit" ""
|
||||
'';
|
||||
# https://github.com/osohotwateriot/apyosohotwaterapi/pull/3
|
||||
pythonRemoveDeps = [ "pre-commit" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
unasync
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
loguru
|
||||
numpy
|
||||
|
Loading…
Reference in New Issue
Block a user