From 805e89ce32fc761a235a7877d93b3527c8a9fc9c Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Thu, 27 Dec 2018 21:08:57 +0100 Subject: [PATCH] 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). --- .../python-modules/goobook/default.nix | 29 +++++-------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/goobook/default.nix b/pkgs/development/python-modules/goobook/default.nix index 4a3c3dc3bcb..e63c97c6793 100644 --- a/pkgs/development/python-modules/goobook/default.nix +++ b/pkgs/development/python-modules/goobook/default.nix @@ -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; }; - }