Loading pkgs/development/python-modules/throttler/default.nix +8 −12 Original line number Diff line number Diff line Loading @@ -3,17 +3,14 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, aiohttp, flake8, pytest, pytest-asyncio, pytest-cov, setuptools, }: buildPythonPackage rec { pname = "throttler"; version = "1.2.2"; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "uburuntu"; Loading @@ -22,12 +19,10 @@ buildPythonPackage rec { hash = "sha256-fE35zPjBUn4e1VRkkIUMtYJ/+LbnUxnxyfnU+UEPwr4="; }; build-system = [ setuptools ]; checkInputs = [ aiohttp flake8 pytest pytest-asyncio pytest-cov pytestCheckHook ]; Loading @@ -38,10 +33,11 @@ buildPythonPackage rec { "tests/test_execution_timer.py" ]; meta = with lib; { meta = { changelog = "https://github.com/uburuntu/throttler/releases/tag/${src.tag}"; description = "Zero-dependency Python package for easy throttling with asyncio support"; homepage = "https://github.com/uburuntu/throttler"; license = licenses.mit; maintainers = with maintainers; [ renatoGarcia ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ renatoGarcia ]; }; } Loading
pkgs/development/python-modules/throttler/default.nix +8 −12 Original line number Diff line number Diff line Loading @@ -3,17 +3,14 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, aiohttp, flake8, pytest, pytest-asyncio, pytest-cov, setuptools, }: buildPythonPackage rec { pname = "throttler"; version = "1.2.2"; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "uburuntu"; Loading @@ -22,12 +19,10 @@ buildPythonPackage rec { hash = "sha256-fE35zPjBUn4e1VRkkIUMtYJ/+LbnUxnxyfnU+UEPwr4="; }; build-system = [ setuptools ]; checkInputs = [ aiohttp flake8 pytest pytest-asyncio pytest-cov pytestCheckHook ]; Loading @@ -38,10 +33,11 @@ buildPythonPackage rec { "tests/test_execution_timer.py" ]; meta = with lib; { meta = { changelog = "https://github.com/uburuntu/throttler/releases/tag/${src.tag}"; description = "Zero-dependency Python package for easy throttling with asyncio support"; homepage = "https://github.com/uburuntu/throttler"; license = licenses.mit; maintainers = with maintainers; [ renatoGarcia ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ renatoGarcia ]; }; }