diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2018-12-27 21:08:57 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2018-12-27 21:15:05 +0100 |
commit | 805e89ce32fc761a235a7877d93b3527c8a9fc9c (patch) | |
tree | 42849be9f9d4260dd7a620b6c5141a8b47567fa0 /pkgs/development/python-modules/goobook/default.nix | |
parent | 8d84ba7037c02d0dbb3937581f8ee2096e6258cb (diff) | |
download | nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.tar nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.tar.gz nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.tar.bz2 nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.tar.lz nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.tar.xz nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.tar.zst nixpkgs-805e89ce32fc761a235a7877d93b3527c8a9fc9c.zip |
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).
Diffstat (limited to 'pkgs/development/python-modules/goobook/default.nix')
-rw-r--r-- | pkgs/development/python-modules/goobook/default.nix | 29 |
1 files 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; }; - } |