1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, websocket-client 6, python_magic 7, cryptography 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "pushbullet.py"; 13 version = "0.12.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "917883e1af4a0c979ce46076b391e0243eb8fe0a81c086544bcfa10f53e5ae64"; 18 }; 19 20 propagatedBuildInputs = [ cryptography requests websocket-client python_magic ]; 21 22 preCheck = '' 23 export PUSHBULLET_API_KEY="" 24 ''; 25 checkInputs = [ pytestCheckHook ]; 26 disabledTests = [ 27 "test_auth_fail" 28 "test_auth_success" 29 "test_decryption" 30 ]; 31 32 meta = with lib; { 33 description = "A simple python client for pushbullet.com"; 34 homepage = "https://github.com/randomchars/pushbullet.py"; 35 license = licenses.mit; 36 }; 37}