python.pkgs.oauth2client: move expression

This commit is contained in:
Robert Schütz 2018-04-05 22:42:47 +02:00 committed by Frederik Rietdijk
parent 60b67d0874
commit 54201ddf24
2 changed files with 22 additions and 17 deletions

View File

@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi
, six, httplib2, pyasn1-modules, rsa }:
buildPythonPackage rec {
pname = "oauth2client";
version = "1.4.12";
src = fetchPypi {
inherit pname version;
sha256 = "0phfk6s8bgpap5xihdk1xv2lakdk1pb3rg6hp2wsg94hxcxnrakl";
};
propagatedBuildInputs = [ six httplib2 pyasn1-modules rsa ];
doCheck = false;
meta = with lib; {
description = "A client library for OAuth 2.0";
homepage = https://github.com/google/oauth2client/;
license = licenses.bsd2;
};
}

View File

@ -9088,23 +9088,7 @@ in {
};
});
oauth2client = buildPythonPackage rec {
name = "oauth2client-1.4.12";
src = pkgs.fetchurl {
url = "mirror://pypi/o/oauth2client/${name}.tar.gz";
sha256 = "0phfk6s8bgpap5xihdk1xv2lakdk1pb3rg6hp2wsg94hxcxnrakl";
};
propagatedBuildInputs = with self; [ six httplib2 pyasn1-modules rsa ];
doCheck = false;
meta = {
description = "A client library for OAuth 2.0";
homepage = https://github.com/google/oauth2client/;
license = licenses.bsd2;
};
};
oauth2client = callPackage ../development/python-modules/oauth2client { };
oauthlib = buildPythonPackage rec {
version = "2.0.0";