depot/third_party/nixpkgs/pkgs/development/python-modules/django-i18nfield/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
871 B
Nix

{
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 ];
};
}