pythonPackages.gspread: refactored move to python-modules
This commit is contained in:
parent
1e00e981cb
commit
d0d3891d8a
21
pkgs/development/python-modules/gspread/default.nix
Normal file
21
pkgs/development/python-modules/gspread/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2428,21 +2428,7 @@ in {
|
|||||||
|
|
||||||
grpcio-tools = callPackage ../development/python-modules/grpcio-tools { };
|
grpcio-tools = callPackage ../development/python-modules/grpcio-tools { };
|
||||||
|
|
||||||
gspread = buildPythonPackage rec {
|
gspread = callPackage ../development/python-modules/gspread { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gyp = buildPythonPackage rec {
|
gyp = buildPythonPackage rec {
|
||||||
name = "gyp-${version}";
|
name = "gyp-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user