pythonPackages.gdata: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:14:55 -04:00
parent f82b1b7580
commit 13b2ea6582
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 18 deletions

View 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;
};
}

View file

@ -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}";