Merge pull request #230906 from fabaff/aiolimiter-bump
python310Packages.aiolimiter: 1.0.0 -> 1.1.0
This commit is contained in:
commit
3144f35bce
1 changed files with 3 additions and 12 deletions
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
|
@ -12,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiolimiter";
|
pname = "aiolimiter";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -21,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "mjpieters";
|
owner = "mjpieters";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-4wByVZoOLhrXFx9oK19GBmRcjGoJolQ3Gwx9vQV/n8s=";
|
hash = "sha256-BpLh9utf2oJe+83rsIZeV5+MjbJ3aO5slMNVbUywQIo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -38,15 +37,6 @@ buildPythonPackage rec {
|
||||||
toml
|
toml
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Switch to poetry-core, https://github.com/mjpieters/aiolimiter/pull/77
|
|
||||||
(fetchpatch {
|
|
||||||
name = "switch-to-peotry-core.patch";
|
|
||||||
url = "https://github.com/mjpieters/aiolimiter/commit/84a85eff42621b0daff8fcf6bb485db313faae0b.patch";
|
|
||||||
hash = "sha256-xUfJwLvMF2Xt/V1bKBFn/fjn1uyw7bGNo9RpWxtyr50=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tox.ini \
|
substituteInPlace tox.ini \
|
||||||
--replace " --cov=aiolimiter --cov-config=tox.ini --cov-report term-missing" ""
|
--replace " --cov=aiolimiter --cov-config=tox.ini --cov-report term-missing" ""
|
||||||
|
@ -59,6 +49,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Implementation of a rate limiter for asyncio";
|
description = "Implementation of a rate limiter for asyncio";
|
||||||
homepage = "https://github.com/mjpieters/aiolimiter";
|
homepage = "https://github.com/mjpieters/aiolimiter";
|
||||||
|
changelog = "https://github.com/mjpieters/aiolimiter/blob/v${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue