pythonPackages.websocket_client: 0.40.0 -> 0.47.0
This commit is contained in:
parent
b45fb438b1
commit
eaa94b29ee
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "websocket_client";
|
||||||
|
version = "0.47.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version pname;
|
||||||
|
sha256 = "0jb1446053ryp5p25wsr1hjfdzwfm04a6f3pzpcb63bfz96xqlx4";
|
||||||
|
};
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
# ssl.match_hostname exists in python2.7 version maintained in nixpkgs,
|
||||||
|
# the dependency is not necessary.
|
||||||
|
sed -e "s/\['backports.ssl_match_hostname'\]/\[\]/" -i setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/liris/websocket-client;
|
||||||
|
description = "Websocket client for python";
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
};
|
||||||
|
}
|
@ -18590,22 +18590,7 @@ EOF
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
websocket_client = buildPythonPackage rec {
|
websocket_client = callPackage ../development/python-modules/websockets_client { };
|
||||||
name = "websocket_client-0.40.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/w/websocket-client/${name}.tar.gz";
|
|
||||||
sha256 = "1yz67wdjijrvwpx0a0f6wdfy8ajsvr9xbj5514ld452fqnh19b20";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ six backports_ssl_match_hostname unittest2 argparse ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/liris/websocket-client;
|
|
||||||
description = "Websocket client for python";
|
|
||||||
license = licenses.lgpl2;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
webhelpers = buildPythonPackage rec {
|
webhelpers = buildPythonPackage rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user