2018-12-27 21:08:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
2019-10-14 12:58:41 +02:00
|
|
|
, google_api_python_client, simplejson, oauth2client, setuptools
|
2018-10-16 22:41:29 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "goobook";
|
2019-10-07 10:26:38 +02:00
|
|
|
version = "3.4";
|
2018-12-27 21:08:57 +01:00
|
|
|
disabled = !isPy3k;
|
2018-10-16 22:41:29 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-07 10:26:38 +02:00
|
|
|
sha256 = "089a95s6g9izsy1fzpz48p6pz0wpngcbbrvsillm1n53492gfhjg";
|
2018-10-16 22:41:29 +02:00
|
|
|
};
|
|
|
|
|
2020-04-21 19:23:08 +02:00
|
|
|
# Required for a breaking change in google-api-python-client 1.8.1:
|
|
|
|
patches = [ ./fix-build.patch ];
|
|
|
|
|
2019-10-14 12:58:41 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
google_api_python_client simplejson oauth2client setuptools
|
|
|
|
];
|
2018-10-16 22:41:29 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Search your google contacts from the command-line or mutt";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://pypi.python.org/pypi/goobook";
|
2018-10-16 22:41:29 +02:00
|
|
|
license = licenses.gpl3;
|
2018-12-27 21:08:57 +01:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2018-10-16 22:41:29 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|