diff --git a/pkgs/development/python-modules/django-reversion/default.nix b/pkgs/development/python-modules/django-reversion/default.nix index 3c262a2c6f11..5a29f75911bf 100644 --- a/pkgs/development/python-modules/django-reversion/default.nix +++ b/pkgs/development/python-modules/django-reversion/default.nix @@ -2,23 +2,31 @@ , buildPythonPackage , fetchPypi , django +, pythonOlder }: buildPythonPackage rec { pname = "django-reversion"; version = "5.0.3"; + format = "setuptools"; - src = fetchPypi { + disabled = pythonOlder "3.7"; + +src = fetchPypi { inherit pname version; - sha256 = "sha256-rLYA+EghRzEqJ71Y5jdmqgODMQGB5IXm6qL0LSZQLJs="; + hash = "sha256-rLYA+EghRzEqJ71Y5jdmqgODMQGB5IXm6qL0LSZQLJs="; }; - # tests assume the availability of a mysql/postgresql database + propagatedBuildInputs = [ + django + ]; + + # Tests assume the availability of a mysql/postgresql database doCheck = false; - propagatedBuildInputs = [ django ]; - - pythonImportsCheck = [ "reversion" ]; + pythonImportsCheck = [ + "reversion" + ]; meta = with lib; { description = "An extension to the Django web framework that provides comprehensive version control facilities";