Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4 5# tests 6, djangorestframework 7, html5lib 8, lxml 9, pytest-django 10, pytestCheckHook 11, pyyaml 12}: 13 14buildPythonPackage { 15 pname = "django-i18nfield"; 16 version = "1.9.4"; 17 format = "setuptools"; 18 19 src = fetchFromGitHub { 20 owner = "raphaelm"; 21 repo = "django-i18nfield"; 22 rev = "10488eb6c673be50e50387c76085a7c8d84e9157"; 23 hash = "sha256-FF980LTw7RFuG9QgxA96yJsSczCNNMq9WsbacQqIReE="; 24 }; 25 26 env.DJANGO_SETTINGS_MODULE = "tests.settings"; 27 28 nativeCheckInputs = [ 29 djangorestframework 30 html5lib 31 lxml 32 pytest-django 33 pytestCheckHook 34 pyyaml 35 ]; 36 37 meta = with lib; { 38 description = "Store internationalized strings in Django models"; 39 homepage = "https://github.com/raphaelm/django-i18nfield"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ hexa ]; 42 }; 43}