evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / swagger-ui-bundle / default.nix
blobb71ae59cca9ba09c1015be9c4818524c7e9f5df2
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   poetry-core,
10   # dependencies
11   importlib-resources,
12   jinja2,
16 buildPythonPackage rec {
17   pname = "swagger-ui-bundle";
18   version = "1.1.0";
19   pyproject = true;
21   src = fetchPypi {
22     pname = "swagger_ui_bundle";
23     inherit version;
24     hash = "sha256-IGc8NDHIcz1dFhXs952azzDP91ICrK8hp9nH9IlxRSk=";
25   };
27   nativeBuildInputs = [ poetry-core ];
29   propagatedBuildInputs = [ jinja2 ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
31   # package contains no tests
32   doCheck = false;
34   meta = with lib; {
35     description = "bundled swagger-ui pip package";
36     homepage = "https://github.com/dtkav/swagger_ui_bundle";
37     license = licenses.asl20;
38   };