django-crispy-forms: 2019.04.21 -> 1.10.0

+14 -11
+14 -11
pkgs/applications/office/paperless/python-modules/django-crispy-forms.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub 2 - , pytest_4, pytest-django, django }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pytest-django 6 + , django 7 + }: 3 8 4 - buildPythonPackage { 9 + buildPythonPackage rec { 5 10 pname = "django-crispy-forms"; 6 - version = "2019.04.21"; 11 + version = "1.10.0"; 7 12 8 13 src = fetchFromGitHub { 9 14 owner = "django-crispy-forms"; 10 15 repo = "django-crispy-forms"; 11 - rev = "e25a5326697e5b545689b3a914e516404a6911bb"; 12 - sha256 = "12zqa76q6i7j47aqvhilivpbdplgp9zw2q8zfcjzlgclrqafaj39"; 16 + rev = version; 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 - checkInputs = [ pytest_4 pytest-django django ]; 27 + checkInputs = [ django pytest-django pytestCheckHook ]; 23 28 24 - checkPhase = '' 25 - PYTHONPATH="$(pwd):$PYTHONPATH" \ 26 - DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings \ 27 - pytest crispy_forms/tests 29 + preCheck = '' 30 + export DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings 28 31 ''; 29 32 30 33 meta = with lib; {