diff --git a/pkgs/development/python-modules/wheel-filename/default.nix b/pkgs/development/python-modules/wheel-filename/default.nix index cf7c12204d86..b1e1241a1f48 100644 --- a/pkgs/development/python-modules/wheel-filename/default.nix +++ b/pkgs/development/python-modules/wheel-filename/default.nix @@ -2,12 +2,10 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, pytestCheckHook, pytest-cov-stub, pythonOlder, - setuptools, - wheel, + hatchling, }: buildPythonPackage rec { @@ -19,22 +17,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jwodder"; - repo = pname; + repo = "wheel-filename"; tag = "v${version}"; hash = "sha256-KAuUrrSq6HJAy+5Gj6svI4M6oV6Fsle1A79E2q2FKW8="; }; - patches = [ - (fetchpatch { - name = "remove-wheel-dependency-constraint.patch"; - url = "https://github.com/jwodder/wheel-filename/commit/11cfa57c8a32fa2a52fb5fe537859997bb642e75.patch"; - hash = "sha256-ssePCVlJuHPJpPyFET3FnnWRlslLnZbnfn42g52yVN4="; - }) - ]; - nativeBuildInputs = [ - setuptools - wheel + hatchling ]; nativeCheckInputs = [