tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
django-crispy-forms: 2019.04.21 -> 1.10.0
Sandro Jäckel
5 years ago
897b67b3
b00ab748
+14
-11
1 changed file
expand all
collapse all
unified
split
pkgs
applications
office
paperless
python-modules
django-crispy-forms.nix
+14
-11
pkgs/applications/office/paperless/python-modules/django-crispy-forms.nix
···
1
1
-
{ lib, buildPythonPackage, fetchFromGitHub
2
2
-
, pytest_4, pytest-django, django }:
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, pytestCheckHook
5
5
+
, pytest-django
6
6
+
, django
7
7
+
}:
3
8
4
4
-
buildPythonPackage {
9
9
+
buildPythonPackage rec {
5
10
pname = "django-crispy-forms";
6
6
-
version = "2019.04.21";
11
11
+
version = "1.10.0";
7
12
8
13
src = fetchFromGitHub {
9
14
owner = "django-crispy-forms";
10
15
repo = "django-crispy-forms";
11
11
-
rev = "e25a5326697e5b545689b3a914e516404a6911bb";
12
12
-
sha256 = "12zqa76q6i7j47aqvhilivpbdplgp9zw2q8zfcjzlgclrqafaj39";
16
16
+
rev = version;
17
17
+
sha256 = "0y6kskfxgckb9npcgwx4zrs5n9px159zh9zhinhxi3i7wlriqpf5";
13
18
};
14
19
15
20
# For reasons unknown, the source dir must contain a dash
···
19
24
export sourceRoot=source-
20
25
'';
21
26
22
22
-
checkInputs = [ pytest_4 pytest-django django ];
27
27
+
checkInputs = [ django pytest-django pytestCheckHook ];
23
28
24
24
-
checkPhase = ''
25
25
-
PYTHONPATH="$(pwd):$PYTHONPATH" \
26
26
-
DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings \
27
27
-
pytest crispy_forms/tests
29
29
+
preCheck = ''
30
30
+
export DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings
28
31
'';
29
32
30
33
meta = with lib; {