depot/third_party/nixpkgs/pkgs/development/python-modules/websocket-client/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

36 lines
797 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, python-socks
}:
buildPythonPackage rec {
pname = "websocket-client";
version = "1.2.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "8dfb715d8a992f5712fff8c843adae94e22b22a99b2c5e6b0ec4a1a981cc4e0d";
};
propagatedBuildInputs = [
python-socks
];
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 ];
};
}