pythonPackages.pushbullet: 0.10.0 -> 0.11.0 and fix build

This commit is contained in:
Robert Schütz 2018-03-17 16:53:31 +01:00
parent 127f99e22e
commit 4e35388878

View File

@ -1,17 +1,24 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, requests, websocket_client, python_magic }: , requests, websocket_client, python_magic
, pytest, mock }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pushbullet.py"; pname = "pushbullet.py";
version = "0.10.0"; version = "0.11.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "537d3132e1dbc91e31ade4cccf4c7def6f9d48e904a67f341d35b8a54a9be74d"; sha256 = "aa9dc7bb46e083e3497d46241154f12944a8f540e29d150330ca94db0b453b8d";
}; };
propagatedBuildInputs = [ requests websocket_client python_magic ]; propagatedBuildInputs = [ requests websocket_client python_magic ];
checkInputs = [ pytest mock ];
checkPhase = ''
PUSHBULLET_API_KEY="" py.test -k "not test_e2e and not test_auth"
'';
meta = with lib; { meta = with lib; {
description = "A simple python client for pushbullet.com"; description = "A simple python client for pushbullet.com";
homepage = https://github.com/randomchars/pushbullet.py; homepage = https://github.com/randomchars/pushbullet.py;