Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / django-bootstrap5 / default.nix
blob76405e9e5cd613bad070a26c5d925ed61397ac2b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
6 # build-system
7 , hatchling
9 # dependencies
10 , beautifulsoup4
11 , pillow
12 , django
15 buildPythonPackage rec {
16   pname = "django-bootstrap5";
17   version = "23.3";
18   format = "pyproject";
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "zostera";
23     repo = "django-bootstrap5";
24     rev = "v${version}";
25     hash = "sha256-FIwDyZ5I/FSaEiQKRfanzAGij86u8y85Wal0B4TrI7c=";
26   };
28   nativeBuildInputs = [
29     hatchling
30   ];
32   propagatedBuildInputs = [
33     django
34     beautifulsoup4
35     pillow
36   ];
38   pythonImportsCheck = [
39     "django_bootstrap5"
40   ];
42   meta = with lib; {
43     description = "Bootstrap 5 integration with Django";
44     homepage = "https://github.com/zostera/django-bootstrap5";
45     changelog = "https://github.com/zostera/django-bootstrap5/blob/${src.rev}/CHANGELOG.md";
46     license = licenses.bsd3;
47     maintainers = with maintainers; [ netali ];
48   };