From 48a792d707a0a6b62e2450313b79bf3bf2963e03 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 26 Feb 2018 19:38:16 +0800 Subject: [PATCH] jsonrpc-async: init at 0.6 --- .../python-modules/jsonrpc-async/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/jsonrpc-async/default.nix diff --git a/pkgs/development/python-modules/jsonrpc-async/default.nix b/pkgs/development/python-modules/jsonrpc-async/default.nix new file mode 100644 index 000000000000..a0056ce25000 --- /dev/null +++ b/pkgs/development/python-modules/jsonrpc-async/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi +, aiohttp, jsonrpc-base }: + +buildPythonPackage rec { + pname = "jsonrpc-async"; + version = "0.6"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0f1p3qv56jn4sdyp8gzf915nya6vr0rn2pbzld9x23y9jdjmibzw"; + }; + + propagatedBuildInputs = [ aiohttp jsonrpc-base ]; + + meta = with stdenv.lib; { + description = "A JSON-RPC client library for asyncio"; + homepage = http://github.com/armills/jsonrpc-async; + license = licenses.bsd3; + maintainers = with maintainers; [ peterhoeg ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a8ae55ae3b7e..8f8133b511ce 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2760,6 +2760,8 @@ in { curtsies = callPackage ../development/python-modules/curtsies { }; + jsonrpc-async = callPackage ../development/python-modules/jsonrpc-async { }; + jsonrpc-base = callPackage ../development/python-modules/jsonrpc-base { }; onkyo-eiscp = callPackage ../development/python-modules/onkyo-eiscp { };