python311Packages.django-statici18n: 2.3.1 -> 2.4.0

This commit is contained in:
Martin Weinelt 2024-03-14 04:02:02 +01:00
parent 11d8179725
commit 87bdd731fa
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,25 +1,37 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
# build-system
, setuptools
# dependencies
, django , django
, django-appconf , django-appconf
# tests
, pytest-django , pytest-django
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-statici18n"; pname = "django-statici18n";
version = "2.3.1"; version = "2.4.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zyegfryed"; owner = "zyegfryed";
repo = pname; repo = "django-statici18n";
rev = "refs/tags/v${version}"; # https://github.com/zyegfryed/django-statici18n/issues/59
hash = "sha256-2fFJJNdF0jspS7djDL8sToPTetzNR6pfNp5ohCNa30I="; rev = "9b83a8f0f2e625dd5f56d53cfe4e07aca9479ab6";
hash = "sha256-KrIlWmN7um9ad2avfANOza579bjYkxTo9F0UFpvLu3A=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
django django
django-appconf django-appconf
]; ];
@ -28,7 +40,7 @@ buildPythonPackage rec {
"statici18n" "statici18n"
]; ];
DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings"; env.DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings";
nativeCheckInputs = [ nativeCheckInputs = [
pytest-django pytest-django