Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 40 lines 814 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytestCheckHook 6, python-socks 7}: 8 9buildPythonPackage rec { 10 pname = "websocket-client"; 11 version = "1.4.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-1uj5DKji3U6AJ8RWGt65RWtUBEMS26ZV58rmUs65rlk="; 19 }; 20 21 propagatedBuildInputs = [ 22 python-socks 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ 30 "websocket" 31 ]; 32 33 meta = with lib; { 34 description = "Websocket client for Python"; 35 homepage = "https://github.com/websocket-client/websocket-client"; 36 changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog"; 37 license = licenses.lgpl21Plus; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}