about summary refs log tree commit diff
path: root/pkgs/development/python-modules/goobook/default.nix
blob: 599132f0f2c2492e71e3e561b8f3e2ac3d32e11b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, oauth2client
, gdata
, simplejson
, httplib2
, keyring
, six
, rsa
}:

buildPythonPackage rec {
  pname = "goobook";
  version = "3.1";
  disabled = isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "139a98d646d5c5963670944d5cfcc1a107677ee11fa98329221bd600457fda6d";
  };

  propagatedBuildInputs = [ oauth2client gdata simplejson httplib2 keyring six rsa ];

  preConfigure = ''
    sed -i '/distribute/d' setup.py
  '';

  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; [ lovek323 hbunke ];
    platforms   = platforms.unix;
  };

}