Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 596 B view raw
1{ lib, pythonOlder, buildPythonPackage, fetchPypi, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "ajsonrpc"; 5 version = "1.1.0"; 6 7 disabled = pythonOlder "3.5"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1b5r8975wdnk3qnc1qjnn4lkxmqcir3brbwnxml9ii90dnsw408a"; 12 }; 13 14 checkInputs = [ pytestCheckHook ]; 15 16 pythonImportsCheck = [ "ajsonrpc" ]; 17 18 meta = with lib; { 19 description = "Async JSON-RPC 2.0 protocol + asyncio server"; 20 homepage = "https://github.com/pavlov99/ajsonrpc"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ oxzi ]; 23 }; 24}