1{ lib
2, buildPythonPackage
3, fetchPypi
4, django
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "django-reversion";
10 version = "5.0.4";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-wSurRS0x3TwkRFbPHfODrPFLoUfPmUBMXkRBJZbeQvw=";
18 };
19
20 propagatedBuildInputs = [
21 django
22 ];
23
24 # Tests assume the availability of a mysql/postgresql database
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "reversion"
29 ];
30
31 meta = with lib; {
32 description = "An extension to the Django web framework that provides comprehensive version control facilities";
33 homepage = "https://github.com/etianen/django-reversion";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ ];
36 };
37}