python3Packages.pyicloud: 0.9.7 -> 0.10.2

This commit is contained in:
Martin Weinelt 2021-02-05 14:51:50 +01:00
parent 0584f0082c
commit 82e0a55f35
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,40 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, fetchFromGitHub
, certifi
, click
, keyring
, keyrings-alt
, click
, pytz
, requests
, six
, tzlocal
, certifi
, bitstring
, unittest2
, pytest-mock
, pytestCheckHook
, future
}:
buildPythonPackage rec {
pname = "pyicloud";
version = "0.9.7";
version = "0.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "dcebb32e474bc28aa77b944a0a64949ef3b5b852cbef6256fbc95347a04e777c";
src = fetchFromGitHub {
owner = "picklepete";
repo = pname;
rev = version;
sha256 = "0bxbhvimwbj2jm8dg7sil8yvln17xgjhvpwr4m783vwfcf76kdmy";
};
propagatedBuildInputs = [
requests
certifi
click
future
keyring
keyrings-alt
click
pytz
requests
six
tzlocal
certifi
bitstring
future
];
checkInputs = [ unittest2 ];
checkInputs = [
pytest-mock
pytestCheckHook
];
postPatch = ''
sed -i \