python3Packages.django-pgtrigger: init at 4.15.3

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

View File

@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
django,
psycopg2,
}:
buildPythonPackage rec {
pname = "django-pgtrigger";
version = "4.15.3";
pyproject = true;
src = fetchFromGitHub {
owner = "AmbitionEng";
repo = "django-pgtrigger";
tag = version;
hash = "sha256-aFjg4rCWM1F2O1zDBVo2zN1LhOPN+UyIZphuTHMAjhQ=";
};
build-system = [ poetry-core ];
dependencies = [
django
psycopg2
];
pythonImportsCheck = [ "pgtrigger" ];
meta = {
description = "Write Postgres triggers for your Django models";
homepage = "https://github.com/Opus10/django-pgtrigger";
changelog = "https://github.com/Opus10/django-pgtrigger/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
raitobezarius
pyrox0
];
};
}

View File

@ -3927,6 +3927,8 @@ self: super: with self; {
django-pglocks = callPackage ../development/python-modules/django-pglocks { };
django-pgtrigger = callPackage ../development/python-modules/django-pgtrigger { };
django-phonenumber-field = callPackage ../development/python-modules/django-phonenumber-field { };
django-picklefield = callPackage ../development/python-modules/django-picklefield { };