python.pkgs.pyicloud: init at 0.9.1
This commit is contained in:
parent
96d2790061
commit
89d1275c38
2 changed files with 53 additions and 0 deletions
51
pkgs/development/python-modules/pyicloud/default.nix
Normal file
51
pkgs/development/python-modules/pyicloud/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, keyring
|
||||||
|
, keyrings-alt
|
||||||
|
, click
|
||||||
|
, six
|
||||||
|
, tzlocal
|
||||||
|
, certifi
|
||||||
|
, bitstring
|
||||||
|
, unittest2
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyicloud";
|
||||||
|
version = "0.9.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "580b52e95f67a41ed86c56a514aa2b362f53fbaf23f16c69fb24e0d19fd373ee";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
keyring
|
||||||
|
keyrings-alt
|
||||||
|
click
|
||||||
|
six
|
||||||
|
tzlocal
|
||||||
|
certifi
|
||||||
|
bitstring
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ unittest2 ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i \
|
||||||
|
-e 's!click>=6.0,<7.0!click!' \
|
||||||
|
-e 's!keyring>=8.0,<9.0!keyring!' \
|
||||||
|
-e 's!keyrings.alt>=1.0,<2.0!keyrings.alt!' \
|
||||||
|
requirements.txt
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "PyiCloud is a module which allows pythonistas to interact with iCloud webservices";
|
||||||
|
homepage = https://github.com/picklepete/pyicloud;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.mic92 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -944,6 +944,8 @@ in {
|
||||||
|
|
||||||
pdfx = callPackage ../development/python-modules/pdfx { };
|
pdfx = callPackage ../development/python-modules/pdfx { };
|
||||||
|
|
||||||
|
pyicloud = callPackage ../development/python-modules/pyicloud { };
|
||||||
|
|
||||||
pyperf = callPackage ../development/python-modules/pyperf { };
|
pyperf = callPackage ../development/python-modules/pyperf { };
|
||||||
|
|
||||||
pefile = callPackage ../development/python-modules/pefile { };
|
pefile = callPackage ../development/python-modules/pefile { };
|
||||||
|
|
Loading…
Reference in a new issue