fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
44 lines
871 B
Nix
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 ];
|
|
};
|
|
}
|