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 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "917883e1af4a0c979ce46076b391e0243eb8fe0a81c086544bcfa10f53e5ae64"; 19 }; 20 21 propagatedBuildInputs = [ cryptography requests websocket-client python-magic ]; 22 23 preCheck = '' 24 export PUSHBULLET_API_KEY="" 25 ''; 26 nativeCheckInputs = [ pytestCheckHook ]; 27 disabledTests = [ 28 "test_auth_fail" 29 "test_auth_success" 30 "test_decryption" 31 ]; 32 33 meta = with lib; { 34 description = "A simple python client for pushbullet.com"; 35 homepage = "https://github.com/randomchars/pushbullet.py"; 36 license = licenses.mit; 37 }; 38}