Commit 2137dd92 authored by Robert Schütz's avatar Robert Schütz Committed by Robert Schütz
Browse files

python310Packages.pyairnow: use poetry-core

parent bb53b956
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -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 ];