python310Packages.django-i18nfield: init at 1.9.4

This commit is contained in:
Martin Weinelt 2023-05-07 22:42:28 +02:00
parent d7550058e0
commit 3a6716ccb9
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# tests
, djangorestframework
, html5lib
, lxml
, pytest-django
, pytestCheckHook
, pyyaml
}:
buildPythonPackage {
pname = "django-i18nfield";
version = "1.9.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "raphaelm";
repo = "django-i18nfield";
rev = "10488eb6c673be50e50387c76085a7c8d84e9157";
hash = "sha256-FF980LTw7RFuG9QgxA96yJsSczCNNMq9WsbacQqIReE=";
};
env.DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [
djangorestframework
html5lib
lxml
pytest-django
pytestCheckHook
pyyaml
];
meta = with lib; {
description = "Store internationalized strings in Django models";
homepage = "https://github.com/raphaelm/django-i18nfield";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -2671,6 +2671,8 @@ self: super: with self; {
django_hijack = callPackage ../development/python-modules/django-hijack { };
# This package may need an older version of Django. Override the package set and set e.g. `django = super.django_1_9`. See the Nixpkgs manual for examples on how to override the package set.
django-i18nfield = callPackage ../development/python-modules/django-i18nfield { };
django-import-export = callPackage ../development/python-modules/django-import-export { };
django-ipware = callPackage ../development/python-modules/django-ipware { };