1{ stdenv, buildPythonPackage, fetchPypi, isPy3k
2, google_api_python_client, simplejson, oauth2client
3}:
4
5buildPythonPackage rec {
6 pname = "goobook";
7 version = "3.3";
8 disabled = !isPy3k;
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "0sanlki1rcqvhbds7a049v2kzglgpm761i728115mdracw0s6i3h";
13 };
14
15 propagatedBuildInputs = [ google_api_python_client simplejson oauth2client ];
16
17 meta = with stdenv.lib; {
18 description = "Search your google contacts from the command-line or mutt";
19 homepage = https://pypi.python.org/pypi/goobook;
20 license = licenses.gpl3;
21 maintainers = with maintainers; [ primeos ];
22 platforms = platforms.unix;
23 };
24}