{ 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 = [ ]; }; }