2018-02-26 11:38:32 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-12-07 08:50:56 +00:00
|
|
|
, aiohttp, jsonrpc-base, pep8 }:
|
2018-02-26 11:38:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonrpc-websocket";
|
2019-11-19 14:35:36 +00:00
|
|
|
version = "1.0.2";
|
2018-02-26 11:38:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-19 14:35:36 +00:00
|
|
|
sha256 = "f1aaca95db795d6a9f7bba52ff83c7fd4139050d0df93ee3a5a448adcfa0c0ac";
|
2018-02-26 11:38:32 +00:00
|
|
|
};
|
|
|
|
|
2019-12-07 08:50:56 +00:00
|
|
|
nativeBuildInputs = [ pep8 ];
|
|
|
|
|
2018-02-26 11:38:32 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A JSON-RPC websocket client library for asyncio";
|
|
|
|
homepage = https://github.com/armills/jsonrpc-websocket;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|