python3Packages.goobook: 3.1 -> 3.3

Unfortunately this package was unmaintained for years, which is why I
had to change quite some stuff (it's probably still not perfect) and set
myself as maintainer (replacing the existing ones, which maintained it
until version 1.9).
This commit is contained in:
Michael Weiss 2018-12-27 21:08:57 +01:00
parent 8d84ba7037
commit 805e89ce32

View File

@ -1,39 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, oauth2client
, gdata
, google_api_python_client
, simplejson
, httplib2
, keyring
, six
, rsa
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, google_api_python_client, simplejson, oauth2client
}:
buildPythonPackage rec {
pname = "goobook";
version = "3.1";
disabled = isPy3k;
version = "3.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "139a98d646d5c5963670944d5cfcc1a107677ee11fa98329221bd600457fda6d";
sha256 = "0sanlki1rcqvhbds7a049v2kzglgpm761i728115mdracw0s6i3h";
};
propagatedBuildInputs = [ oauth2client gdata google_api_python_client simplejson httplib2 keyring six rsa ];
preConfigure = ''
sed -i '/distribute/d' setup.py
'';
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; [ lovek323 hbunke ];
maintainers = with maintainers; [ primeos ];
platforms = platforms.unix;
};
}