diff --git a/pkgs/development/python-modules/django-simple-history/default.nix b/pkgs/development/python-modules/django-simple-history/default.nix index 0179760be698..45e1854de8d9 100644 --- a/pkgs/development/python-modules/django-simple-history/default.nix +++ b/pkgs/development/python-modules/django-simple-history/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "django-simple-history"; version = "3.7.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -24,13 +24,13 @@ buildPythonPackage rec { hash = "sha256-bPdMdtiEDRvRD00ZBwUQkeCDKCx2SW65+FsbuMwVdK0="; }; - nativeBuildInputs = [ + build-system = [ hatch-fancy-pypi-readme hatchling hatch-vcs ]; - propagatedBuildInputs = [ django ]; + dependencies = [ django ]; checkPhase = '' runHook preCheck @@ -41,7 +41,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "simple_history" ]; meta = with lib; { - description = "django-simple-history stores Django model state on every create/update/delete"; + description = "Module to store Django model state on every create/update/delete"; homepage = "https://github.com/jazzband/django-simple-history/"; changelog = "https://github.com/jazzband/django-simple-history/releases/tag/${version}"; license = licenses.bsd3;