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
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, django
|
, django
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-reversion";
|
pname = "django-reversion";
|
||||||
version = "5.0.3";
|
version = "5.0.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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;
|
doCheck = false;
|
||||||
|
|
||||||
propagatedBuildInputs = [ django ];
|
pythonImportsCheck = [
|
||||||
|
"reversion"
|
||||||
pythonImportsCheck = [ "reversion" ];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
||||||
|
|
Loading…
Reference in a new issue