2018-12-27 20:08:57 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, google_api_python_client, simplejson, oauth2client
|
2018-10-16 20:41:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "goobook";
|
2019-10-07 08:26:38 +00:00
|
|
|
version = "3.4";
|
2018-12-27 20:08:57 +00:00
|
|
|
disabled = !isPy3k;
|
2018-10-16 20:41:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-07 08:26:38 +00:00
|
|
|
sha256 = "089a95s6g9izsy1fzpz48p6pz0wpngcbbrvsillm1n53492gfhjg";
|
2018-10-16 20:41:29 +00:00
|
|
|
};
|
|
|
|
|
2018-12-27 20:08:57 +00:00
|
|
|
propagatedBuildInputs = [ google_api_python_client simplejson oauth2client ];
|
2018-10-16 20:41:29 +00: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 20:08:57 +00:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2018-10-16 20:41:29 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|