1{ lib
2, buildPythonPackage
3, fetchPypi
4# propagatedBuildInputs
5, aiohttp
6# buildInputs
7, pytest
8, pytest-asyncio
9}:
10
11buildPythonPackage rec {
12 pname = "aresponses";
13 version = "1.1.2";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "20a63536d86af6f31f9b0720c561bdc595b6bfe071940e347ab58b11caff9e1b";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 ];
23
24 buildInputs = [
25 pytest
26 pytest-asyncio
27 ];
28
29 # tests only distributed via git repository, not pypi
30 doCheck = false;
31
32 meta = with lib; {
33 description = "Asyncio testing server";
34 homepage = "https://github.com/circleup/aresponses";
35 license = licenses.mit;
36 maintainers = [ maintainers.makefu ];
37 };
38}