nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 848 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 django, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "django-reversion"; 11 version = "6.1.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "django_reversion"; 16 inherit version; 17 hash = "sha256-Md1/7gLiohr3wtCmHBwPJ7oH3yMXyaCj8x0+5ABpAl0="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ django ]; 23 24 # Tests assume the availability of a mysql/postgresql database 25 doCheck = false; 26 27 pythonImportsCheck = [ "reversion" ]; 28 29 meta = { 30 description = "Extension to the Django web framework that provides comprehensive version control facilities"; 31 homepage = "https://github.com/etianen/django-reversion"; 32 changelog = "https://github.com/etianen/django-reversion/blob/v${version}/CHANGELOG.rst"; 33 license = lib.licenses.bsd3; 34 maintainers = [ ]; 35 }; 36}