Files

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

40 lines
902 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
django,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "6.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "django_reversion";
inherit version;
hash = "sha256-yrD9kGQLLOs316iXgjynKiG5YK0dajuctONR+rvSfZw=";
};
build-system = [ setuptools ];
dependencies = [ django ];
# Tests assume the availability of a mysql/postgresql database
doCheck = false;
pythonImportsCheck = [ "reversion" ];
meta = with lib; {
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 = licenses.bsd3;
maintainers = [ ];
};
}