mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
9a624d10e3
Since theey is not active from at least six years. All the packages on this commit became orphans. --------------------------------------------------------------------------- There are files not covered by this commit, because they will be adopted soon. Namely: - pkgs/by-name/zs/zsync/package.nix - pkgs/games/bsdgames/default.nix - pkgs/misc/ghostscript/default.nix - pkgs/os-specific/linux/kernel/perf/default.nix - pkgs/tools/system/logrotate/default.nix
51 lines
907 B
Nix
51 lines
907 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
apispec,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
jinja2,
|
|
packaging,
|
|
pytest-aiohttp,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
webargs,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiohttp-apispec";
|
|
version = "3.0.0b2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maximdanilchenko";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-C+/M25oCLTNGGEUj2EyXn3UjcvPvDYFmmUW8IOoF1uU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
apispec
|
|
jinja2
|
|
packaging
|
|
webargs
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-aiohttp
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiohttp_apispec" ];
|
|
|
|
meta = with lib; {
|
|
description = "Build and document REST APIs with aiohttp and apispec";
|
|
homepage = "https://github.com/maximdanilchenko/aiohttp-apispec/";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|