pythonPackages.aiohttp-swagger: init at 1.0.5
This commit is contained in:
parent
6270f3955e
commit
a4a7243a57
33
pkgs/development/python-modules/aiohttp-swagger/default.nix
Normal file
33
pkgs/development/python-modules/aiohttp-swagger/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1307,6 +1307,8 @@ in {
|
|||||||
|
|
||||||
aiohttp-socks = callPackage ../development/python-modules/aiohttp-socks { };
|
aiohttp-socks = callPackage ../development/python-modules/aiohttp-socks { };
|
||||||
|
|
||||||
|
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
||||||
|
|
||||||
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
|
aioprocessing = callPackage ../development/python-modules/aioprocessing { };
|
||||||
|
|
||||||
aioresponses = callPackage ../development/python-modules/aioresponses { };
|
aioresponses = callPackage ../development/python-modules/aioresponses { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user