Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, django 6, pytest-django 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "django-bootstrap3"; 12 version = "23.1"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-cJW3xmqJ87rreOoCh5nr15XSlzn8hgJGBCLnwqGUrTA="; 18 }; 19 20 nativeBuildInputs = [ 21 setuptools 22 ]; 23 24 buildInputs = [ 25 django 26 ]; 27 28 pythonImportsCheck = [ 29 "bootstrap3" 30 ]; 31 32 nativeCheckInputs = [ 33 pytest-django 34 pytestCheckHook 35 ]; 36 37 env.DJANGO_SETTINGS_MODULE = "tests.app.settings"; 38 39 meta = with lib; { 40 description = "Bootstrap 3 integration for Django"; 41 homepage = "https://github.com/zostera/django-bootstrap3"; 42 changelog = "https://github.com/zostera/django-bootstrap3/blob/${version}/CHANGELOG.md"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ hexa ]; 45 }; 46} 47 48