diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-14 12:01:25 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-14 12:01:25 +0100 |
commit | d584164d24ebe8caa1cf6d753f7c55765e4ec680 (patch) | |
tree | 74624aaea2c4eada76502ee99fe64bf988a25dc6 /pkgs/applications/networking/p2p | |
parent | c3a5c4942921c86559ba8542259bbecdcacaeac9 (diff) |
python3Packages.aiohttp-apispec: move to python-modules
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/tribler/aiohttp-apispec.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/applications/networking/p2p/tribler/aiohttp-apispec.nix b/pkgs/applications/networking/p2p/tribler/aiohttp-apispec.nix deleted file mode 100644 index 4e1f5ee6ca70a..0000000000000 --- a/pkgs/applications/networking/p2p/tribler/aiohttp-apispec.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder -, aiohttp, webargs, fetchFromGitHub, callPackage -}: - -let - apispec3 = callPackage ./apispec.nix {}; - jinja2 = callPackage ../../../../development/python2-modules/jinja2 {}; -in -buildPythonPackage rec { - pname = "aiohttp-apispec"; - version = "unstable-2021-21-08"; - - # unstable so we can use latest webargs - src = fetchFromGitHub { - owner = "maximdanilchenko"; - repo = "aiohttp-apispec"; - rev = "cfa19646394480dda289f6b7af19b7d50f245d81"; - sha256 = "uEgDRAlMjTa4rvdE3fkORCHIlCLzxPJJ2/m4ZRU3eIQ="; - fetchSubmodules = false; - }; - - propagatedBuildInputs = [ aiohttp webargs apispec3 jinja2 ]; - - pythonImportsCheck = [ - "aiohttp_apispec" - ]; - - # Requires pytest-sanic, currently broken in nixpkgs - doCheck = false; - - meta = with lib; { - description = "Build and document REST APIs with aiohttp and apispec"; - homepage = "https://github.com/maximdanilchenko/aiohttp-apispec/"; - license = licenses.mit; - maintainers = [ maintainers.viric ]; - }; -} |