2018-02-26 12:38:32 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-12-07 09:50:56 +01:00
|
|
|
, aiohttp, jsonrpc-base, pep8 }:
|
2018-02-26 12:38:32 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonrpc-websocket";
|
2020-04-02 01:37:20 +02:00
|
|
|
version = "1.1.0";
|
2018-02-26 12:38:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-02 01:37:20 +02:00
|
|
|
sha256 = "029gxp6f06gmba7glxfdz5xfhs5kkqph7x78k38qqvdrmca4z450";
|
2018-02-26 12:38:32 +01:00
|
|
|
};
|
|
|
|
|
2019-12-07 09:50:56 +01:00
|
|
|
nativeBuildInputs = [ pep8 ];
|
|
|
|
|
2018-02-26 12:38:32 +01:00
|
|
|
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A JSON-RPC websocket client library for asyncio";
|
2020-04-02 01:37:20 +02:00
|
|
|
homepage = "https://github.com/armills/jsonrpc-websocket";
|
2018-02-26 12:38:32 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|