2018-12-27 21:08:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, google_api_python_client, simplejson, oauth2client
|
2018-10-16 22:41:29 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "goobook";
|
2018-12-27 21:08:57 +01:00
|
|
|
version = "3.3";
|
|
|
|
disabled = !isPy3k;
|
2018-10-16 22:41:29 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-27 21:08:57 +01:00
|
|
|
sha256 = "0sanlki1rcqvhbds7a049v2kzglgpm761i728115mdracw0s6i3h";
|
2018-10-16 22:41:29 +02:00
|
|
|
};
|
|
|
|
|
2018-12-27 21:08:57 +01:00
|
|
|
propagatedBuildInputs = [ google_api_python_client simplejson oauth2client ];
|
2018-10-16 22:41:29 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Search your google contacts from the command-line or mutt";
|
|
|
|
homepage = https://pypi.python.org/pypi/goobook;
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|