django-crispy-forms: 2019.04.21 -> 1.10.0
This commit is contained in:
parent
b00ab7489e
commit
897b67b324
@ -1,15 +1,20 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib
|
||||||
, pytest_4, pytest-django, django }:
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-django
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage rec {
|
||||||
pname = "django-crispy-forms";
|
pname = "django-crispy-forms";
|
||||||
version = "2019.04.21";
|
version = "1.10.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "django-crispy-forms";
|
owner = "django-crispy-forms";
|
||||||
repo = "django-crispy-forms";
|
repo = "django-crispy-forms";
|
||||||
rev = "e25a5326697e5b545689b3a914e516404a6911bb";
|
rev = version;
|
||||||
sha256 = "12zqa76q6i7j47aqvhilivpbdplgp9zw2q8zfcjzlgclrqafaj39";
|
sha256 = "0y6kskfxgckb9npcgwx4zrs5n9px159zh9zhinhxi3i7wlriqpf5";
|
||||||
};
|
};
|
||||||
|
|
||||||
# For reasons unknown, the source dir must contain a dash
|
# For reasons unknown, the source dir must contain a dash
|
||||||
@ -19,12 +24,10 @@ buildPythonPackage {
|
|||||||
export sourceRoot=source-
|
export sourceRoot=source-
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytest_4 pytest-django django ];
|
checkInputs = [ django pytest-django pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
preCheck = ''
|
||||||
PYTHONPATH="$(pwd):$PYTHONPATH" \
|
export DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings
|
||||||
DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings \
|
|
||||||
pytest crispy_forms/tests
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user