nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 648 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 poetry-core, 8 9 # dependencies 10 jinja2, 11 12}: 13 14buildPythonPackage rec { 15 pname = "swagger-ui-bundle"; 16 version = "1.1.0"; 17 pyproject = true; 18 19 src = fetchPypi { 20 pname = "swagger_ui_bundle"; 21 inherit version; 22 hash = "sha256-IGc8NDHIcz1dFhXs952azzDP91ICrK8hp9nH9IlxRSk="; 23 }; 24 25 nativeBuildInputs = [ poetry-core ]; 26 27 propagatedBuildInputs = [ jinja2 ]; 28 29 # package contains no tests 30 doCheck = false; 31 32 meta = { 33 description = "Bundled swagger-ui pip package"; 34 homepage = "https://github.com/dtkav/swagger_ui_bundle"; 35 license = lib.licenses.asl20; 36 }; 37}