Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 819 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k 2, google_api_python_client, simplejson, oauth2client, setuptools 3}: 4 5buildPythonPackage rec { 6 pname = "goobook"; 7 version = "3.4"; 8 disabled = !isPy3k; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "089a95s6g9izsy1fzpz48p6pz0wpngcbbrvsillm1n53492gfhjg"; 13 }; 14 15 # Required for a breaking change in google-api-python-client 1.8.1: 16 patches = [ ./fix-build.patch ]; 17 18 propagatedBuildInputs = [ 19 google_api_python_client simplejson oauth2client setuptools 20 ]; 21 22 meta = with stdenv.lib; { 23 description = "Search your google contacts from the command-line or mutt"; 24 homepage = "https://pypi.python.org/pypi/goobook"; 25 license = licenses.gpl3; 26 maintainers = with maintainers; [ primeos ]; 27 platforms = platforms.unix; 28 }; 29}