python3Packages.django-pghistory: init at 3.7.0

This commit is contained in:
dish 2025-07-01 17:22:30 -04:00
parent c7f8cbc4c1
commit 5ea515a7eb
No known key found for this signature in database
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
django,
django-pgtrigger,
poetry-core,
}:
buildPythonPackage rec {
pname = "django-pghistory";
version = "3.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Opus10";
repo = "django-pghistory";
tag = "${version}";
hash = "sha256-HXnljqbLNnKqueDNDTEhKHNkm5FcQGsA54mdnk3rYNI=";
};
build-system = [
poetry-core
];
dependencies = [
django
django-pgtrigger
];
pythonImportsCheck = [ "pghistory" ];
meta = {
changelog = "https://github.com/Opus10/django-pghistory/releases/tag/${version}";
description = "History tracking for Django and Postgres";
homepage = "https://django-pghistory.readthedocs.io";
maintainers = with lib.maintainers; [ pyrox0 ];
license = lib.licenses.bsd3;
};
}

View File

@ -3923,6 +3923,8 @@ self: super: with self; {
django-pgactivity = callPackage ../development/python-modules/django-pgactivity { };
django-pghistory = callPackage ../development/python-modules/django-pghistory { };
django-pglock = callPackage ../development/python-modules/django-pglock { };
django-pglocks = callPackage ../development/python-modules/django-pglocks { };