2019-10-08 09:26:32 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
# propagatedBuildInputs
|
|
|
|
, aiohttp
|
|
|
|
# buildInputs
|
|
|
|
, pytest
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aresponses";
|
2019-12-10 18:07:37 +00:00
|
|
|
version = "1.1.2";
|
2019-10-08 09:26:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:37 +00:00
|
|
|
sha256 = "20a63536d86af6f31f9b0720c561bdc595b6bfe071940e347ab58b11caff9e1b";
|
2019-10-08 09:26:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pytest
|
|
|
|
pytest-asyncio
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests only distributed via git repository, not pypi
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Asyncio testing server";
|
|
|
|
homepage = "https://github.com/circleup/aresponses";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.makefu ];
|
|
|
|
};
|
|
|
|
}
|