python310Packages.django-i18nfield: init at 1.9.4
This commit is contained in:
parent
d7550058e0
commit
3a6716ccb9
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/django-i18nfield/default.nix
Normal file
43
pkgs/development/python-modules/django-i18nfield/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue