From f28d580a4f86041d6f0df9482315d36673d8ef9d Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 13 Mar 2020 10:41:01 +0100 Subject: ma bureautomation: use discovery, cleanup --- makefu/2configs/bureautomation/deps/aresponses.nix | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 makefu/2configs/bureautomation/deps/aresponses.nix (limited to 'makefu/2configs/bureautomation/deps') diff --git a/makefu/2configs/bureautomation/deps/aresponses.nix b/makefu/2configs/bureautomation/deps/aresponses.nix new file mode 100644 index 000000000..9e64d2f65 --- /dev/null +++ b/makefu/2configs/bureautomation/deps/aresponses.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchPypi +# propagatedBuildInputs +, aiohttp +# buildInputs +, pytest +, pytest-asyncio +}: + +buildPythonPackage rec { + pname = "aresponses"; + version = "1.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "d1d6ef52b9a97142d106688cf9b112602ef3dc66f6368de8f91f47241d8cfc9c"; + }; + + 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 ]; + }; +} -- cgit v1.2.3