@@ -1,24 +0,0 @@
1−{ stdenv, buildPythonPackage, fetchPypi, six }:
2−buildPythonPackage rec {
3− pname = "websocket_client";
4− version = "0.54.0";
5−
6− src = fetchPypi {
7− inherit version pname;
8− sha256 = "e51562c91ddb8148e791f0155fdb01325d99bb52c4cdbb291aee7a3563fd0849";
9− };
10−
11− prePatch = ''
12− # ssl.match_hostname exists in python2.7 version maintained in nixpkgs,
13− # the dependency is not necessary.
14− sed -e "s/\['backports.ssl_match_hostname'\]/\[\]/" -i setup.py
15− '';
16−
17− propagatedBuildInputs = [ six ];
18−
19− meta = with stdenv.lib; {
20− homepage = https://github.com/liris/websocket-client;
21− description = "Websocket client for python";
22− license = licenses.lgpl2;
23− };
24−}