Files
2026-11-18 11:39:25 +00:00

37 lines
848 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
django,
setuptools,
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "6.5.2";
pyproject = true;
src = fetchPypi {
pname = "django_reversion";
inherit version;
hash = "sha256-EA+nIum/nLaIZbZ4+Q5UFRZsN5jYOeEPj87WNr9jwJ0=";
};
build-system = [ setuptools ];
dependencies = [ django ];
# Tests assume the availability of a mysql/postgresql database
doCheck = false;
pythonImportsCheck = [ "reversion" ];
meta = {
description = "Extension to the Django web framework that provides comprehensive version control facilities";
homepage = "https://github.com/etianen/django-reversion";
changelog = "https://github.com/etianen/django-reversion/blob/v${version}/CHANGELOG.rst";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}