diff --git a/pkgs/development/python-modules/django-modeltranslation/default.nix b/pkgs/development/python-modules/django-modeltranslation/default.nix index 91ee56a3382d..cb4f79bf0e12 100644 --- a/pkgs/development/python-modules/django-modeltranslation/default.nix +++ b/pkgs/development/python-modules/django-modeltranslation/default.nix @@ -9,7 +9,8 @@ pytest-django, pytestCheckHook, pythonOlder, - setuptools, + hatchling, + hatch-vcs, }: buildPythonPackage rec { @@ -26,7 +27,10 @@ buildPythonPackage rec { hash = "sha256-8A5fIZuUMlXe8bHQR0Ha5HoT9VIQsgqpJVMONB5KqCI="; }; - build-system = [ setuptools ]; + build-system = [ + hatchling + hatch-vcs + ]; dependencies = [ django ]; @@ -40,11 +44,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "modeltranslation" ]; - meta = with lib; { + meta = { description = "Translates Django models using a registration approach"; homepage = "https://github.com/deschler/django-modeltranslation"; changelog = "https://github.com/deschler/django-modeltranslation/blob/v${src.tag}/CHANGELOG.md"; - license = licenses.bsd3; - maintainers = with maintainers; [ augustebaum ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ augustebaum ]; }; }