Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
926 B · 50 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, aiohttp, jsonrpc-base, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "jsonrpc-websocket"; version = "3.1.4"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "emlove"; repo = "jsonrpc-websocket"; rev = version; hash = "sha256-xSOITOVtsNMEDrq610l8LNipLdyMWzKOQDedQEGaNOQ="; };
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
pytestFlagsArray = [ "--asyncio-mode=auto" "tests.py" ];
pythonImportsCheck = [ "jsonrpc_websocket" ];
meta = with lib; { description = "A JSON-RPC websocket client library for asyncio"; homepage = "https://github.com/emlove/jsonrpc-websocket"; license = licenses.bsd3; maintainers = with maintainers; [ peterhoeg ]; };}