Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
887 B · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch,
# dependencies flask, jsonschema, mistune, pyyaml, six, werkzeug,
# tests pytestCheckHook,}:
buildPythonPackage rec { pname = "flasgger"; version = "0.9.7.1"; format = "setuptools";
src = fetchFromGitHub { owner = "flasgger"; repo = "flasgger"; rev = "v${version}"; hash = "sha256-ULEf9DJiz/S2wKlb/vjGto8VCI0QDcm0pkU5rlOwtiE="; };
propagatedBuildInputs = [ flask jsonschema mistune pyyaml six werkzeug ];
pythonImportsCheck = [ "flasgger" ];
nativeCheckInputs = [ pytestCheckHook ];
doCheck = false; # missing flex dependency
meta = with lib; { description = "Easy OpenAPI specs and Swagger UI for your Flask API"; homepage = "https://github.com/flasgger/flasgger/"; license = licenses.mit; maintainers = [ ]; };}