Loading pkgs/development/python-modules/aiolimiter/default.nix +5 −11 Original line number Diff line number Diff line Loading @@ -3,20 +3,16 @@ buildPythonPackage, fetchFromGitHub, poetry-core, importlib-metadata, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, toml, }: buildPythonPackage rec { pname = "aiolimiter"; version = "1.2.1"; format = "pyproject"; disabled = pythonOlder "3.7"; pyproject = true; src = fetchFromGitHub { owner = "mjpieters"; Loading @@ -33,9 +29,7 @@ buildPythonPackage rec { 'asyncio_default_fixture_loop_scope = session' ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; build-system = [ poetry-core ]; nativeCheckInputs = [ pytest-asyncio Loading @@ -46,11 +40,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "aiolimiter" ]; meta = with lib; { meta = { description = "Implementation of a rate limiter for asyncio"; homepage = "https://github.com/mjpieters/aiolimiter"; changelog = "https://github.com/mjpieters/aiolimiter/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; } Loading
pkgs/development/python-modules/aiolimiter/default.nix +5 −11 Original line number Diff line number Diff line Loading @@ -3,20 +3,16 @@ buildPythonPackage, fetchFromGitHub, poetry-core, importlib-metadata, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, toml, }: buildPythonPackage rec { pname = "aiolimiter"; version = "1.2.1"; format = "pyproject"; disabled = pythonOlder "3.7"; pyproject = true; src = fetchFromGitHub { owner = "mjpieters"; Loading @@ -33,9 +29,7 @@ buildPythonPackage rec { 'asyncio_default_fixture_loop_scope = session' ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; build-system = [ poetry-core ]; nativeCheckInputs = [ pytest-asyncio Loading @@ -46,11 +40,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "aiolimiter" ]; meta = with lib; { meta = { description = "Implementation of a rate limiter for asyncio"; homepage = "https://github.com/mjpieters/aiolimiter"; changelog = "https://github.com/mjpieters/aiolimiter/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; }