3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aresponses/default.nix

42 lines
729 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
# propagatedBuildInputs
, aiohttp
# buildInputs
, pytest
, pytest-asyncio
2020-09-09 17:10:21 +01:00
, isPy3k
}:
buildPythonPackage rec {
pname = "aresponses";
2020-06-06 07:46:57 +01:00
version = "2.0.0";
2020-09-09 17:10:21 +01:00
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
2020-06-06 07:46:57 +01:00
sha256 = "58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35";
};
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 ];
};
}