mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
39 lines
697 B
Nix
39 lines
697 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
# propagatedBuildInputs
|
|
, aiohttp
|
|
# buildInputs
|
|
, pytest
|
|
, pytest-asyncio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aresponses";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
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 ];
|
|
};
|
|
}
|