about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aresponses
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-10-08 10:26:32 +0200
committermakefu <github@syntax-fehler.de>2019-10-08 10:32:19 +0200
commit9b62190190db5d37ff18f6c7668240a856796b47 (patch)
tree8eeecbf3f7935fe100adbd71f62c7d0120316810 /pkgs/development/python-modules/aresponses
parent86e68d02b35ab2277f7acffd58ac1fee2af8d86c (diff)
downloadnixlib-9b62190190db5d37ff18f6c7668240a856796b47.tar
nixlib-9b62190190db5d37ff18f6c7668240a856796b47.tar.gz
nixlib-9b62190190db5d37ff18f6c7668240a856796b47.tar.bz2
nixlib-9b62190190db5d37ff18f6c7668240a856796b47.tar.lz
nixlib-9b62190190db5d37ff18f6c7668240a856796b47.tar.xz
nixlib-9b62190190db5d37ff18f6c7668240a856796b47.tar.zst
nixlib-9b62190190db5d37ff18f6c7668240a856796b47.zip
pythonPackages.aresponses: init at 1.1.1
required by pyhaversion
Diffstat (limited to 'pkgs/development/python-modules/aresponses')
-rw-r--r--pkgs/development/python-modules/aresponses/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aresponses/default.nix b/pkgs/development/python-modules/aresponses/default.nix
new file mode 100644
index 000000000000..9e64d2f65ffe
--- /dev/null
+++ b/pkgs/development/python-modules/aresponses/default.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 ];
+  };
+}