Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, django, fetchFromGitHub, hatch-fancy-pypi-readme, hatchling, hatch-vcs, python,}:
buildPythonPackage rec { pname = "django-simple-history"; version = "3.11.0"; pyproject = true;
src = fetchFromGitHub { owner = "jazzband"; repo = "django-simple-history"; tag = version; hash = "sha256-pTWorV++YSr/oIdcShrJTBUFfn5ekJ29rNn6ltDhN5Q="; };
build-system = [ hatch-fancy-pypi-readme hatchling hatch-vcs ];
dependencies = [ django ];
checkPhase = '' runHook preCheck ${python.interpreter} runtests.py runHook postCheck '';
pythonImportsCheck = [ "simple_history" ];
meta = { 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/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ derdennisop ]; };}