blob: 7eaa9c3a718924b9bcafbad0d245924702467655 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib
, buildPythonPackage
, fetchPypi
, django
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "5.0.10";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-wYdJpnwdtBZ8yszDY5XF/mB48xKGloPC89IUBR5aayk=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
django
];
# Tests assume the availability of a mysql/postgresql database
doCheck = false;
pythonImportsCheck = [
"reversion"
];
meta = with lib; {
description = "An extension to the Django web framework that provides comprehensive version control facilities";
homepage = "https://github.com/etianen/django-reversion";
changelog = "https://github.com/etianen/django-reversion/blob/v${version}/CHANGELOG.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
|