Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / drf-spectacular-sidecar / default.nix
blob2ce7b3e92074e2ae9d6115a7a17fe99577318185
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , django
5 }:
7 buildPythonPackage rec {
8   pname = "drf-spectacular-sidecar";
9   version = "2023.9.1";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "tfranzel";
14     repo = "drf-spectacular-sidecar";
15     rev = version;
16     hash = "sha256-EoQKbxzXEuKC50/W1/tBB2wASJZmNNwg9r1qhIB4Ws8=";
17   };
19   propagatedBuildInputs = [
20     django
21   ];
23   # no tests
24   doCheck = false;
26   pythonImportsCheck = [ "drf_spectacular_sidecar" ];
28   meta = with lib; {
29     description = "Serve self-contained distribution builds of Swagger UI and Redoc with Django";
30     homepage = "https://github.com/tfranzel/drf-spectacular-sidecar";
31     license = licenses.bsd3;
32     maintainers = with maintainers; [ ];
33   };