nixpkgs/pkgs/development/python-modules/websocket-client/default.nix
Jonathan Ringer ba47e59440 python3Packges.websocket: add missing six dependency
```
       > Processing ./websocket_client-0.56.0-py2.py3-none-any.whl
       > ERROR: Could not find a version that satisfies the requirement six (from websocket-client) (from versions: none)
       > ERROR: No matching distribution found for six
       >
```
2022-04-15 01:39:53 +02:00

39 lines
798 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, python-socks
, six
}:
buildPythonPackage rec {
pname = "websocket-client";
version = "1.3.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ULIdsAWPepU9Z8wERb5LlI1/wZbsvrgIPWjZRijkq/Y=";
};
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 ];
};
}