aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/goobook/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/goobook/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/goobook/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/goobook/default.nix b/nixpkgs/pkgs/development/python-modules/goobook/default.nix
new file mode 100644
index 00000000000..4e14b14c2aa
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/goobook/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi, isPy3k
+, google_api_python_client, simplejson, oauth2client
+}:
+
+buildPythonPackage rec {
+ pname = "goobook";
+ version = "3.4";
+ disabled = !isPy3k;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "089a95s6g9izsy1fzpz48p6pz0wpngcbbrvsillm1n53492gfhjg";
+ };
+
+ propagatedBuildInputs = [ google_api_python_client simplejson oauth2client ];
+
+ 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;
+ maintainers = with maintainers; [ primeos ];
+ platforms = platforms.unix;
+ };
+}