3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyfronius: add patch for python310 compat

This commit is contained in:
Martin Weinelt 2022-05-26 00:51:00 +02:00
parent e1f7051794
commit 27d3429a3f

View file

@ -2,6 +2,7 @@
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pythonOlder , pythonOlder
, pytestCheckHook , pytestCheckHook
}: }:
@ -19,6 +20,14 @@ buildPythonPackage rec {
sha256 = "1xwx0c1dp2374bwigzwhvcj4577vrxyhn6i5zv73k9ydc7w1xgyz"; 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 = [ propagatedBuildInputs = [
aiohttp aiohttp
]; ];