1 { lib, buildPythonPackage, fetchPypi, jinja2, flake8 }:
3 buildPythonPackage rec {
4 pname = "swagger-ui-bundle";
8 pname = "swagger_ui_bundle";
10 sha256 = "b462aa1460261796ab78fd4663961a7f6f347ce01760f1303bbbdf630f11f516";
13 # patch away unused test requirements since package contains no tests
15 substituteInPlace setup.py --replace "setup_requires=['pytest-runner', 'flake8']" "setup_requires=[]"
18 propagatedBuildInputs = [ jinja2 ];
20 # package contains no tests
24 description = "bundled swagger-ui pip package";
25 homepage = "https://github.com/dtkav/swagger_ui_bundle";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ elohmeier ];