1{ lib, buildPythonPackage, fetchPypi 2, requests, websocket_client, python_magic 3, pytest, mock }: 4 5buildPythonPackage rec { 6 pname = "pushbullet.py"; 7 version = "0.11.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "aa9dc7bb46e083e3497d46241154f12944a8f540e29d150330ca94db0b453b8d"; 12 }; 13 14 propagatedBuildInputs = [ requests websocket_client python_magic ]; 15 16 checkInputs = [ pytest mock ]; 17 18 checkPhase = '' 19 PUSHBULLET_API_KEY="" py.test -k "not test_e2e and not test_auth" 20 ''; 21 22 meta = with lib; { 23 description = "A simple python client for pushbullet.com"; 24 homepage = https://github.com/randomchars/pushbullet.py; 25 license = licenses.mit; 26 }; 27}