python3Packages.python-izone: 1.2.9 -> 1.2.10 (#521662)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
aiohttp,
|
||||
netifaces,
|
||||
pytest-aio,
|
||||
@@ -13,28 +12,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-izone";
|
||||
version = "1.2.9";
|
||||
version = "1.2.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Swamp-Ig";
|
||||
repo = "pizone";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-0rj+tKn2pbFe+nczTMGLwIwmc4jCznGGF4/IMjlEvQg=";
|
||||
hash = "sha256-/wErnm3SY5N/Bm1oODQsAVTPAtERcrJqwPt1ipDBuZ0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/Swamp-Ig/pizone/pull/26
|
||||
(fetchpatch {
|
||||
name = "replace-async-timeout-with-asyncio.timeout.patch";
|
||||
url = "https://github.com/Swamp-Ig/pizone/commit/776a7c5682ecd1b75a0b36dea71c914c25476a77.patch";
|
||||
hash = "sha256-Cl71BErInSPtFNbPaV7E/LEDZPMuFNGKA8i5e+C3BMA=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools_scm[toml] >= 4, <6" "setuptools-scm[toml]" \
|
||||
--replace-fail '"setuptools_scm_git_archive",' ""
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user