nixpkgs/pkgs/development/python-modules/aresponses/default.nix

39 lines
697 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
# propagatedBuildInputs
, aiohttp
# buildInputs
, pytest
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "aresponses";
2020-06-06 07:46:57 +01:00
version = "2.0.0";
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 ];
};
}