pythonPackages.gdata: refactor move to python-modules
This commit is contained in:
parent
f82b1b7580
commit
13b2ea6582
24
pkgs/development/python-modules/gdata/default.nix
Normal file
24
pkgs/development/python-modules/gdata/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gdata";
|
||||
version = "2.0.18";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gdata-python-client.googlecode.com/files/${pname}-${version}.tar.gz";
|
||||
sha256 = "1dpxl5hwyyqd71avpm5vkvw8fhlvf9liizmhrq9jphhrx0nx5rsn";
|
||||
};
|
||||
|
||||
# Fails with "error: invalid command 'test'"
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://code.google.com/p/gdata-python-client/;
|
||||
description = "Python client library for Google data APIs";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
|
@ -4314,24 +4314,7 @@ in {
|
|||
|
||||
ws4py = callPackage ../development/python-modules/ws4py {};
|
||||
|
||||
gdata = buildPythonPackage rec {
|
||||
name = "gdata-${version}";
|
||||
version = "2.0.18";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://gdata-python-client.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "1dpxl5hwyyqd71avpm5vkvw8fhlvf9liizmhrq9jphhrx0nx5rsn";
|
||||
};
|
||||
|
||||
# Fails with "error: invalid command 'test'"
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://code.google.com/p/gdata-python-client/;
|
||||
description = "Python client library for Google data APIs";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
gdata = callPackage ../development/python-modules/gdata { };
|
||||
|
||||
IMAPClient = buildPythonPackage rec {
|
||||
name = "IMAPClient-${version}";
|
||||
|
|
Loading…
Reference in a new issue