From 5510e6e46a4176b4a9ef02d4c89297dbc36d634d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 26 Mar 2026 11:32:36 +0100 Subject: [PATCH] python3Packages.pystardict: fix build --- .../python-modules/pystardict/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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" ];