Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / apispec-webframeworks / default.nix
blob3211eed5aa3f0cbf10b27c2ba2e0ef4b1be6cdcd
1 { lib
2 , apispec
3 , bottle
4 , buildPythonPackage
5 , fetchFromGitHub
6 , flask
7 , mock
8 , pytestCheckHook
9 , pythonOlder
10 , tornado
13 buildPythonPackage rec {
14   pname = "apispec-webframeworks";
15   version = "0.5.2";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "marshmallow-code";
22     repo = "apispec-webframeworks";
23     rev = version;
24     hash = "sha256-ByNmmBLO99njw9JrT+cCW/K4NJBH92smAiIgg47Cvkk=";
25   };
27   propagatedBuildInputs = [
28     apispec
29   ] ++ apispec.optional-dependencies.yaml;
31   nativeCheckInputs = [
32     bottle
33     flask
34     mock
35     pytestCheckHook
36     tornado
37   ];
39   pythonImportsCheck = [
40     "apispec_webframeworks"
41   ];
43   meta = with lib; {
44     description = "Web framework plugins for apispec";
45     homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
46     changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49   };