python311Packages.pyairnow: prune build-system
The build happens using poetry-core, but setuptools and wheel were previously required. They are fully redundant and I submitted a patch upstream to remove them.
This commit is contained in:
parent
dc6bc6df1b
commit
d470b77402
1 changed files with 11 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytest-aiohttp
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
|
@ -22,6 +23,16 @@ buildPythonPackage rec {
|
|||
hash = "sha256-aab+3xrEiCjysa+DzXWelQwz8V2tr74y8v0NpDZiuTk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# remove setuptools, wheel from build-system requirements
|
||||
# https://github.com/asymworks/pyairnow/pull/7
|
||||
name = "pyairnow-build-system.patch";
|
||||
url = "https://github.com/asymworks/pyairnow/commit/e3cc892ffce855d8213264248b6b4ed78ee791bd.patch";
|
||||
hash = "sha256-L0MV2okkf6Nf1S4zS7lb4lt5eSfTF10yDJLzpyDrSl8=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
|
Loading…
Reference in a new issue