Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 25 lines 610 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27 2, six 3, backports_ssl_match_hostname 4}: 5 6buildPythonPackage rec { 7 version = "0.57.0"; 8 pname = "websocket_client"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010"; 13 }; 14 15 propagatedBuildInputs = [ 16 six 17 ] ++ lib.optional isPy27 backports_ssl_match_hostname; 18 19 meta = with lib; { 20 description = "Websocket client for python"; 21 homepage = "https://github.com/websocket-client/websocket-client"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ ]; 24 }; 25}