blob: 36b1c23534595a6f44d421c99cd1d8a2387c7473 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, flake8
, jinja2
, pytestCheckHook
, pytest-aiohttp
, pyyaml
}:
buildPythonPackage rec {
pname = "aiohttp-swagger";
version = "1.0.5";
src = fetchFromGitHub {
owner = "cr0hn";
repo = pname;
rev = "5a59e86f8c5672d2cc97dd35dc730c2f809d95ce"; # corresponds to 1.0.5 on PyPi, no tag on GitHub
sha256 = "1vpfk5b3f7s9qzr2q48g776f39xzqppjwm57scfzqqmbldkk5nv7";
};
propagatedBuildInputs = [ aiohttp jinja2 pyyaml ];
checkInputs = [ flake8 pytestCheckHook pytest-aiohttp ];
meta = with lib; {
description = "Swagger API Documentation builder for aiohttp";
homepage = "https://github.com/cr0hn/aiohttp-swagger";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}
|