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