python3Packages.pyairnow: 1.1.0 -> 1.2.1

This commit is contained in:
Martin Weinelt 2023-02-27 02:14:37 +01:00
parent f15e7abe51
commit 2bdf9b0452
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -3,7 +3,6 @@
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-aiohttp
, poetry-core
, pytest-asyncio
@ -13,24 +12,16 @@
buildPythonPackage rec {
pname = "pyairnow";
version = "1.1.0";
version = "1.2.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "asymworks";
repo = pname;
rev = "v${version}";
sha256 = "1hkpfl8rdwyzqrr1drqlmcw3xpv3pi1jf19h1divspbzwarqxs1c";
rev = "refs/tags/v${version}";
hash = "sha256-aab+3xrEiCjysa+DzXWelQwz8V2tr74y8v0NpDZiuTk=";
};
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 ];