Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, django 5, django-appconf 6, pytest-django 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "django-statici18n"; 12 version = "2.3.1"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "zyegfryed"; 17 repo = pname; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-2fFJJNdF0jspS7djDL8sToPTetzNR6pfNp5ohCNa30I="; 20 }; 21 22 propagatedBuildInputs = [ 23 django 24 django-appconf 25 ]; 26 27 pythonImportsCheck = [ 28 "statici18n" 29 ]; 30 31 DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings"; 32 33 nativeCheckInputs = [ 34 pytest-django 35 pytestCheckHook 36 ]; 37 38 meta = with lib; { 39 description = "Helper for generating Javascript catalog to static files"; 40 homepage = "https://github.com/zyegfryed/django-statici18n"; 41 license = licenses.bsd3; 42 maintainers = with maintainers; [ greizgh schmittlauch ]; 43 }; 44}