Merge pull request #174719 from mweinelt/pyfronius

python3Packages.pyfronius: add patch for python310 compat
This commit is contained in:
Fabian Affolter
2022-05-26 15:59:31 +02:00
committed by GitHub
@@ -2,6 +2,7 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonOlder
, pytestCheckHook
}:
@@ -19,6 +20,14 @@ buildPythonPackage rec {
sha256 = "1xwx0c1dp2374bwigzwhvcj4577vrxyhn6i5zv73k9ydc7w1xgyz";
};
patches = [
(fetchpatch {
# Python3.10 compatibility; https://github.com/nielstron/pyfronius/pull/7
url = "https://github.com/nielstron/pyfronius/commit/9deb209d4246ff575cd3c4c5373037bf11df6719.patch";
hash = "sha256-srXYCvp86kGYUYZIXMcu68hEbkTspD945J+hc/AhqSw=";
})
];
propagatedBuildInputs = [
aiohttp
];