1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 django, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "django-reversion"; 12 version = "6.0.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "django_reversion"; 19 inherit version; 20 hash = "sha256-yrD9kGQLLOs316iXgjynKiG5YK0dajuctONR+rvSfZw="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ django ]; 26 27 # Tests assume the availability of a mysql/postgresql database 28 doCheck = false; 29 30 pythonImportsCheck = [ "reversion" ]; 31 32 meta = with lib; { 33 description = "Extension to the Django web framework that provides comprehensive version control facilities"; 34 homepage = "https://github.com/etianen/django-reversion"; 35 changelog = "https://github.com/etianen/django-reversion/blob/v${version}/CHANGELOG.rst"; 36 license = licenses.bsd3; 37 maintainers = [ ]; 38 }; 39}