diff --git a/pkgs/development/python-modules/pystardict/default.nix b/pkgs/development/python-modules/pystardict/default.nix index d6ed140de4ba..4e13dd385adc 100644 --- a/pkgs/development/python-modules/pystardict/default.nix +++ b/pkgs/development/python-modules/pystardict/default.nix @@ -2,8 +2,8 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, - setuptools-scm, + hatchling, + hatch-vcs, six, pytestCheckHook, }: @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pystardict"; version = "0.9"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "lig"; @@ -20,13 +20,13 @@ buildPythonPackage rec { hash = "sha256-VWOxggAKifN5f6nSN1xsSbg0hpKzrHDw+UqnAOzsXj0="; }; - propagatedBuildInputs = [ six ]; - - nativeBuildInputs = [ - setuptools - setuptools-scm + build-system = [ + hatchling + hatch-vcs ]; + dependencies = [ six ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pystardict" ];