diff --git a/pkgs/development/python-modules/throttler/default.nix b/pkgs/development/python-modules/throttler/default.nix index 1c1273c1899d..08bc01676832 100644 --- a/pkgs/development/python-modules/throttler/default.nix +++ b/pkgs/development/python-modules/throttler/default.nix @@ -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"; @@ -22,12 +19,10 @@ buildPythonPackage rec { hash = "sha256-fE35zPjBUn4e1VRkkIUMtYJ/+LbnUxnxyfnU+UEPwr4="; }; + build-system = [ setuptools ]; + checkInputs = [ - aiohttp - flake8 - pytest pytest-asyncio - pytest-cov pytestCheckHook ]; @@ -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 ]; }; }