at 22.05-pre 1.3 kB view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, docutils, installShellFiles 3, google-api-python-client, simplejson, oauth2client, setuptools, xdg 4}: 5 6buildPythonPackage rec { 7 pname = "goobook"; 8 version = "3.5.1"; 9 disabled = !isPy3k; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "6e69aeaf69112d116302f0c42ca1904f3b6efd17f15cefc12c866206160293be"; 14 }; 15 16 nativeBuildInputs = [ docutils installShellFiles ]; 17 propagatedBuildInputs = [ 18 google-api-python-client simplejson oauth2client setuptools xdg 19 ]; 20 21 postInstall = '' 22 rst2man goobook.1.rst goobook.1 23 installManPage goobook.1 24 ''; 25 26 doCheck = false; 27 28 pythonImportsCheck = [ "goobook" ]; 29 30 meta = with lib; { 31 description = "Access your Google contacts from the command line"; 32 longDescription = '' 33 The purpose of GooBook is to make it possible to use your Google Contacts 34 from the command-line and from MUAs such as Mutt. 35 It can be used from Mutt the same way as abook. 36 ''; 37 homepage = "https://pypi.python.org/pypi/goobook"; 38 changelog = "https://gitlab.com/goobook/goobook/-/blob/${version}/CHANGES.rst"; 39 license = licenses.gpl3; 40 maintainers = with maintainers; [ primeos ]; 41 platforms = platforms.unix; 42 }; 43}