1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy27,
6 oauth2,
7}:
8
9buildPythonPackage rec {
10 pname = "evernote";
11 version = "1.25.3";
12 format = "setuptools";
13 disabled = !isPy27; # some dependencies do not work with py3
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "796847e0b7517e729041c5187fa1665c3f6fc0491cb4d71fb95a62c4f22e64eb";
18 };
19
20 propagatedBuildInputs = [ oauth2 ];
21
22 meta = with lib; {
23 description = "Evernote SDK for Python";
24 homepage = "https://dev.evernote.com";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ hbunke ];
27 };
28}