Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, django, fetchFromGitHub, hatch-fancy-pypi-readme, hatchling, hatch-vcs, python, pythonOlder,}:
buildPythonPackage rec { pname = "django-simple-history"; version = "3.9.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "jazzband"; repo = "django-simple-history"; tag = version; hash = "sha256-df6AWyliKSqKH0yacpHgGZXNvmjiJuFJWoJ7502IMB4="; };
build-system = [ hatch-fancy-pypi-readme hatchling hatch-vcs ];
dependencies = [ django ];
checkPhase = '' runHook preCheck ${python.interpreter} runtests.py runHook postCheck '';
pythonImportsCheck = [ "simple_history" ];
meta = with lib; { 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 = licenses.bsd3; maintainers = with maintainers; [ derdennisop ]; };}