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 }: 3 4 - buildPythonPackage { 5 pname = "django-crispy-forms"; 6 - version = "2019.04.21"; 7 8 src = fetchFromGitHub { 9 owner = "django-crispy-forms"; 10 repo = "django-crispy-forms"; 11 - rev = "e25a5326697e5b545689b3a914e516404a6911bb"; 12 - sha256 = "12zqa76q6i7j47aqvhilivpbdplgp9zw2q8zfcjzlgclrqafaj39"; 13 }; 14 15 # For reasons unknown, the source dir must contain a dash ··· 19 export sourceRoot=source- 20 ''; 21 22 - checkInputs = [ pytest_4 pytest-django django ]; 23 24 - checkPhase = '' 25 - PYTHONPATH="$(pwd):$PYTHONPATH" \ 26 - DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings \ 27 - pytest crispy_forms/tests 28 ''; 29 30 meta = with lib; {
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pytest-django 6 + , django 7 + }: 8 9 + buildPythonPackage rec { 10 pname = "django-crispy-forms"; 11 + version = "1.10.0"; 12 13 src = fetchFromGitHub { 14 owner = "django-crispy-forms"; 15 repo = "django-crispy-forms"; 16 + rev = version; 17 + sha256 = "0y6kskfxgckb9npcgwx4zrs5n9px159zh9zhinhxi3i7wlriqpf5"; 18 }; 19 20 # For reasons unknown, the source dir must contain a dash ··· 24 export sourceRoot=source- 25 ''; 26 27 + checkInputs = [ django pytest-django pytestCheckHook ]; 28 29 + preCheck = '' 30 + export DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings 31 ''; 32 33 meta = with lib; {