nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 973 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 uv-build, 8 9 # dependencies 10 django, 11 12 # tests 13 pytest-django, 14 pytestCheckHook, 15}: 16 17buildPythonPackage rec { 18 pname = "django-bootstrap3"; 19 version = "26.1"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "zostera"; 24 repo = "django-bootstrap3"; 25 tag = "v${version}"; 26 hash = "sha256-DpdgwG+4We/r3NZ50no/SurEtL1BkB3P0nMv8KRj+GY="; 27 }; 28 29 build-system = [ uv-build ]; 30 31 dependencies = [ django ]; 32 33 pythonImportsCheck = [ "bootstrap3" ]; 34 35 nativeCheckInputs = [ 36 pytest-django 37 pytestCheckHook 38 ]; 39 40 env.DJANGO_SETTINGS_MODULE = "tests.app.settings"; 41 42 meta = { 43 description = "Bootstrap 3 integration for Django"; 44 homepage = "https://github.com/zostera/django-bootstrap3"; 45 changelog = "https://github.com/zostera/django-bootstrap3/blob/${src.tag}/CHANGELOG.md"; 46 license = lib.licenses.bsd3; 47 maintainers = with lib.maintainers; [ hexa ]; 48 }; 49}