5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
38 lines
798 B
Nix
38 lines
798 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, python-socks
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "websocket-client";
|
|
version = "1.4.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-+WEetlyCQaZ/s3O+8ECzz4rTd6n2VGoStiC2UR6Oqe8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python-socks
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "websocket" ];
|
|
|
|
meta = with lib; {
|
|
description = "Websocket client for Python";
|
|
homepage = "https://github.com/websocket-client/websocket-client";
|
|
changelog = "https://github.com/websocket-client/websocket-client/blob/v${version}/ChangeLog";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|