3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jsonrpc-websocket/default.nix

24 lines
619 B
Nix
Raw Normal View History

2018-02-26 11:38:32 +00:00
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, jsonrpc-base, pep8 }:
2018-02-26 11:38:32 +00:00
buildPythonPackage rec {
pname = "jsonrpc-websocket";
version = "1.2.1";
2018-02-26 11:38:32 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "c343d057b572791ed3107b771c17358bc710772a9a6156047a3cfafb409ed895";
2018-02-26 11:38:32 +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";
2018-02-26 11:38:32 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}