mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
pythonPackages.goobook: refactor move to python-modules
This commit is contained in:
parent
060ba731b6
commit
7300b2c714
38
pkgs/development/python-modules/goobook/default.nix
Normal file
38
pkgs/development/python-modules/goobook/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, oauth2client
|
||||||
|
, gdata
|
||||||
|
, simplejson
|
||||||
|
, httplib2
|
||||||
|
, keyring
|
||||||
|
, six
|
||||||
|
, rsa
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "goobook";
|
||||||
|
version = "1.9";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "02xmq8sjavza17av44ks510934wrshxnsm6lvhvazs45s92b671i";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ oauth2client gdata simplejson httplib2 keyring six rsa ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
sed -i '/distribute/d' setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -2390,31 +2390,7 @@ in {
|
||||||
|
|
||||||
github-webhook = callPackage ../development/python-modules/github-webhook { };
|
github-webhook = callPackage ../development/python-modules/github-webhook { };
|
||||||
|
|
||||||
goobook = buildPythonPackage rec {
|
goobook = callPackage ../development/python-modules/goobook { };
|
||||||
name = "goobook-1.9";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/g/goobook/${name}.tar.gz";
|
|
||||||
sha256 = "02xmq8sjavza17av44ks510934wrshxnsm6lvhvazs45s92b671i";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i '/distribute/d' setup.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
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 ];
|
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ oauth2client gdata simplejson httplib2 keyring six rsa ];
|
|
||||||
};
|
|
||||||
|
|
||||||
googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { };
|
googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue