python3Packages.aiopvapi: unstable-2021-09-27 -> 1.6.19
This commit is contained in:
parent
57cc1ba332
commit
3a4c03b83e
1 changed files with 4 additions and 14 deletions
|
@ -3,15 +3,13 @@
|
||||||
, async-timeout
|
, async-timeout
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchPypi
|
|
||||||
, fetchpatch
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiopvapi";
|
pname = "aiopvapi";
|
||||||
version = "unstable-2021-09-27";
|
version = "1.6.19";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
@ -19,19 +17,11 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sander76";
|
owner = "sander76";
|
||||||
repo = "aio-powerview-api";
|
repo = "aio-powerview-api";
|
||||||
rev = "7b362e28a8ec8c9a53905879d8b519e03fd88e13";
|
# no tags on git, no sdist on pypi: https://github.com/sander76/aio-powerview-api/issues/12
|
||||||
sha256 = "sha256-7bZLCv9PEJr61vimw39m89w/rha3tQWM8TWMtfd8kjQ=";
|
rev = "89711e2a0cb4640eb458767d289dcfa3acafb10f";
|
||||||
|
sha256 = "18gbz9rcf183syvxvvhhl62af3b7463rlqxxs49w4m805hkvirdp";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Drop loop= kwarg from async_timeout and ClientSession calls
|
|
||||||
# https://github.com/sander76/aio-powerview-api/pull/13
|
|
||||||
url = "https://github.com/sander76/aio-powerview-api/commit/7be67268050fbbf7652ce5a020d2ff26f34d0b27.patch";
|
|
||||||
sha256 = "sha256-7QPwrMP1Sbrayg63YZJcRkVDAqcm6hqh0fuJdrUk5WY=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
async-timeout
|
async-timeout
|
||||||
|
|
Loading…
Reference in a new issue