3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.pyairnow: use poetry-core

This commit is contained in:
Robert Schütz 2022-11-28 21:16:27 -08:00 committed by Robert Schütz
parent bb53b95624
commit 2137dd928c

View file

@ -3,8 +3,9 @@
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-aiohttp
, poetry
, poetry-core
, pytest-asyncio
, pytest-cov
, pytestCheckHook
@ -22,7 +23,15 @@ buildPythonPackage rec {
sha256 = "1hkpfl8rdwyzqrr1drqlmcw3xpv3pi1jf19h1divspbzwarqxs1c";
};
nativeBuildInputs = [ poetry ];
patches = [
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/asymworks/pyairnow/commit/f7a01733a41c648563fc2fe4b559f61ef08b9153.patch";
hash = "sha256-lcHnFP3bwkPTi9Zq1dZtShLKyXcxO0XoDF+PgjbWOqs=";
})
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp ];