mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
2e1b91ed8e
Querying resulted in the following error: $ goobook query test Traceback (most recent call last): File "/nix/store/y68w4wwx65yfck84vjsdvfwnii5594lc-python3.7-goobook-3.4/bin/.goobook-wrapped", line 7, in <module> from goobook.application import main File "/nix/store/y68w4wwx65yfck84vjsdvfwnii5594lc-python3.7-goobook-3.4/lib/python3.7/site-packages/goobook/application.py", line 18, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources'
27 lines
711 B
Nix
27 lines
711 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
, google_api_python_client, simplejson, oauth2client, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "goobook";
|
|
version = "3.4";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "089a95s6g9izsy1fzpz48p6pz0wpngcbbrvsillm1n53492gfhjg";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google_api_python_client simplejson oauth2client setuptools
|
|
];
|
|
|
|
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; [ primeos ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|