Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 41 lines 729 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4# propagatedBuildInputs 5, aiohttp 6# buildInputs 7, pytest 8, pytest-asyncio 9, isPy3k 10}: 11 12buildPythonPackage rec { 13 pname = "aresponses"; 14 version = "2.0.0"; 15 16 disabled = !isPy3k; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35"; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 ]; 26 27 buildInputs = [ 28 pytest 29 pytest-asyncio 30 ]; 31 32 # tests only distributed via git repository, not pypi 33 doCheck = false; 34 35 meta = with lib; { 36 description = "Asyncio testing server"; 37 homepage = "https://github.com/circleup/aresponses"; 38 license = licenses.mit; 39 maintainers = [ maintainers.makefu ]; 40 }; 41}