diff options
Diffstat (limited to 'pkgs/development/python-modules/django-statici18n/default.nix')
-rw-r--r-- | pkgs/development/python-modules/django-statici18n/default.nix | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/django-statici18n/default.nix b/pkgs/development/python-modules/django-statici18n/default.nix index 8ce7bc0340a94..88f4994c91b6e 100644 --- a/pkgs/development/python-modules/django-statici18n/default.nix +++ b/pkgs/development/python-modules/django-statici18n/default.nix @@ -1,44 +1,40 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub +{ + lib, + buildPythonPackage, + fetchFromGitHub, -# build-system -, setuptools + # build-system + setuptools, -# dependencies -, django -, django-appconf + # dependencies + django, + django-appconf, -# tests -, pytest-django -, pytestCheckHook + # tests + pytest-django, + pytestCheckHook, }: buildPythonPackage rec { pname = "django-statici18n"; - version = "2.4.0"; + version = "2.5.0"; pyproject = true; src = fetchFromGitHub { owner = "zyegfryed"; repo = "django-statici18n"; - # https://github.com/zyegfryed/django-statici18n/issues/59 - rev = "9b83a8f0f2e625dd5f56d53cfe4e07aca9479ab6"; - hash = "sha256-KrIlWmN7um9ad2avfANOza579bjYkxTo9F0UFpvLu3A="; + rev = "refs/tags/v${version}"; + hash = "sha256-n6HqHcXvz2ihwN+gJr5P+/Yt4RpuOu2yAjo9fiNZB54="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ django django-appconf ]; - pythonImportsCheck = [ - "statici18n" - ]; + pythonImportsCheck = [ "statici18n" ]; env.DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings"; @@ -51,6 +47,9 @@ buildPythonPackage rec { description = "Helper for generating Javascript catalog to static files"; homepage = "https://github.com/zyegfryed/django-statici18n"; license = licenses.bsd3; - maintainers = with maintainers; [ greizgh schmittlauch ]; + maintainers = with maintainers; [ + greizgh + schmittlauch + ]; }; } |