nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 38 lines 798 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytestCheckHook 6, python-socks 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "websocket-client"; 12 version = "1.3.2"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-ULIdsAWPepU9Z8wERb5LlI1/wZbsvrgIPWjZRijkq/Y="; 18 }; 19 20 propagatedBuildInputs = [ 21 python-socks 22 six 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "websocket" ]; 30 31 meta = with lib; { 32 description = "Websocket client for Python"; 33 homepage = "https://github.com/websocket-client/websocket-client"; 34 changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog"; 35 license = licenses.lgpl21Plus; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}