pythonPackages.gspread: refactored move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 16:46:14 -04:00 committed by Frederik Rietdijk
parent 1e00e981cb
commit d0d3891d8a
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "0.2.3";
pname = "gspread";
src = fetchPypi {
inherit pname version;
sha256 = "dba45ef9e652dcd8cf561ae65569bd6ecd18fcc77b991521490698fb2d847106";
};
meta = with stdenv.lib; {
description = "Google Spreadsheets client library";
homepage = "https://github.com/burnash/gspread";
license = licenses.mit;
};
}

View File

@ -2428,21 +2428,7 @@ in {
grpcio-tools = callPackage ../development/python-modules/grpcio-tools { };
gspread = buildPythonPackage rec {
version = "0.2.3";
name = "gspread-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/g/gspread/${name}.tar.gz";
sha256 = "dba45ef9e652dcd8cf561ae65569bd6ecd18fcc77b991521490698fb2d847106";
};
meta = {
description = "Google Spreadsheets client library";
homepage = "https://github.com/burnash/gspread";
license = licenses.mit;
};
};
gspread = callPackage ../development/python-modules/gspread { };
gyp = buildPythonPackage rec {
name = "gyp-${version}";