about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/jsonrpc-async/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/jsonrpc-async/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/jsonrpc-async/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/jsonrpc-async/default.nix b/nixpkgs/pkgs/development/python-modules/jsonrpc-async/default.nix
new file mode 100644
index 000000000000..d4bc1dd523d5
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/jsonrpc-async/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, aiohttp, jsonrpc-base }:
+
+buildPythonPackage rec {
+  pname = "jsonrpc-async";
+  version = "1.1.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "488ab3b63a96c246f7ded14b3458eb13a36e3e16eb4319aa56806476517c7433";
+  };
+
+  propagatedBuildInputs = [ aiohttp jsonrpc-base ];
+
+  meta = with stdenv.lib; {
+    description = "A JSON-RPC client library for asyncio";
+    homepage = https://github.com/armills/jsonrpc-async;
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ peterhoeg ];
+  };
+}