python310Packages.django-reversion: disable on older Python releases
This commit is contained in:
parent
fcab0c7453
commit
288222fff9
1 changed files with 14 additions and 6 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue