diff --git a/pkgs/development/python-modules/busypie/default.nix b/pkgs/development/python-modules/busypie/default.nix index 2659c8b86424..788d833dd7c8 100644 --- a/pkgs/development/python-modules/busypie/default.nix +++ b/pkgs/development/python-modules/busypie/default.nix @@ -6,30 +6,26 @@ pytest-timeout, pytestCheckHook, setuptools, - wheel, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "busypie"; - version = "0.5.1"; + version = "0.5.2"; pyproject = true; src = fetchFromGitHub { owner = "rockem"; repo = "busypie"; - tag = "v${version}"; - hash = "sha256-dw0Sc/a27/EYY7LVMQqDkYuxrUFYK+N6XLk6A7A/eS8="; + tag = "v${finalAttrs.version}"; + hash = "sha256-LaPgK36ieHKAbm9btx6t//dMdSGdzcaDJVou96D6J3U="; }; postPatch = '' substituteInPlace setup.py \ - --replace "pytest-runner" "" + --replace-fail "pytest-runner" "" ''; - nativeBuildInputs = [ - setuptools - wheel - ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pytest-asyncio @@ -42,8 +38,8 @@ buildPythonPackage rec { meta = { description = "Expressive busy wait for Python"; homepage = "https://github.com/rockem/busypie"; - changelog = "https://github.com/rockem/busypie/releases/tag/v${version}"; + changelog = "https://github.com/rockem/busypie/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})