django-simple-history: refactor

fix build (https://hydra.nixos.org/build/271981979)
This commit is contained in:
Fabian Affolter 2024-09-14 13:18:38 +02:00
parent ef9abaca05
commit f58ca7ca7b

View File

@ -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;