Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
814 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchFromGitHub,
buildPythonPackage,
django,
django-pgtrigger,
poetry-core,
}:
buildPythonPackage rec {
pname = "django-pghistory";
version = "3.8.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Opus10";
repo = "django-pghistory";
tag = version;
hash = "sha256-Sx2dR5l86D+2t+1DViW1PfI74zyLmgwNm81zVmZ7IH8=";
};
build-system = [
poetry-core
];
dependencies = [
django
django-pgtrigger
];
pythonImportsCheck = [ "pghistory" ];
meta = {
changelog = "https://github.com/Opus10/django-pghistory/releases/tag/${src.tag}";
description = "History tracking for Django and Postgres";
homepage = "https://django-pghistory.readthedocs.io";
maintainers = with lib.maintainers; [ pyrox0 ];
license = lib.licenses.bsd3;
};
}