mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Merge pull request #4608 from oconnorr/master
Add python package gsutil plus all its dependencies.
This commit is contained in:
commit
5bd5d2d9be
@ -1010,7 +1010,6 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
botocore = buildPythonPackage rec {
|
||||
version = "0.67.0";
|
||||
name = "botocore-${version}";
|
||||
@ -1597,6 +1596,19 @@ let
|
||||
propagatedBuildInputs = with self; [ self.coverage ];
|
||||
};
|
||||
|
||||
crcmod = buildPythonPackage rec {
|
||||
name = "crcmod-1.7";
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/c/crcmod/crcmod-1.7.tar.gz;
|
||||
sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w";
|
||||
};
|
||||
meta = {
|
||||
description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)";
|
||||
homepage = http://crcmod.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
cython = buildPythonPackage rec {
|
||||
name = "Cython-0.20.1";
|
||||
|
||||
@ -7666,6 +7678,17 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
retry_decorator = buildPythonPackage rec {
|
||||
name = "retry_decorator-1.0.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/r/retry_decorator/retry_decorator-1.0.0.tar.gz;
|
||||
sha256 = "086zahyb6yn7ggpc58909c5r5h3jz321i1694l1c28bbpaxnlk88";
|
||||
};
|
||||
meta = {
|
||||
homepage = https://github.com/pnpnpn/retry-decorator;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
quantities = buildPythonPackage rec {
|
||||
name = "quantities-0.10.1";
|
||||
@ -8645,6 +8668,19 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
socksipy-branch = buildPythonPackage rec {
|
||||
name = "SocksiPy-branch-1.01";
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/S/SocksiPy-branch/SocksiPy-branch-1.01.tar.gz;
|
||||
sha256 = "01l41v4g7fy9fzvinmjxy6zcbhgqaif8dhdqm4w90fwcw9h51a8p";
|
||||
};
|
||||
meta = {
|
||||
homepage = http://code.google.com/p/socksipy-branch/;
|
||||
description = "This Python module allows you to create TCP connections through a SOCKS proxy without any special effort";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
};
|
||||
};
|
||||
|
||||
sorl_thumbnail = buildPythonPackage rec {
|
||||
name = "sorl-thumbnail-11.12";
|
||||
|
||||
@ -11470,6 +11506,52 @@ let
|
||||
with self;
|
||||
|
||||
{
|
||||
boto-230 = buildPythonPackage rec {
|
||||
name = "boto-2.30.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/b/boto/boto-2.30.0.tar.gz;
|
||||
sha256 = "12gl8azmx1vv8dbv9jhnsbhjpc2dd1ng0jlbcg734k6ggwq1h6hh";
|
||||
};
|
||||
doCheck = false;
|
||||
meta = {
|
||||
homepage = https://github.com/boto/boto;
|
||||
license = licenses.mit;
|
||||
description = "Python interface to Amazon Web Services";
|
||||
};
|
||||
};
|
||||
|
||||
gcs-oauth2-boto-plugin = buildPythonPackage rec {
|
||||
name = "gcs-oauth2-boto-plugin-1.8";
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/g/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-1.8.tar.gz;
|
||||
sha256 = "0jy62y5bmaf1mb735lqwry1s5nx2qqrxvl5sxip9yg4miih3qkyb";
|
||||
};
|
||||
propagatedBuildInputs = with self; [ boto-230 httplib2 google_api_python_client retry_decorator pkgs.pyopenssl socksipy-branch ];
|
||||
meta = {
|
||||
homepage = https://developers.google.com/storage/docs/gspythonlibrary;
|
||||
description = "Provides OAuth 2.0 credentials that can be used with Google Cloud Storage";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
};
|
||||
|
||||
gsutil = buildPythonPackage rec {
|
||||
name = "gsutil-4.6";
|
||||
meta = {
|
||||
homepage = https://developers.google.com/storage/docs/gsutil;
|
||||
description = "Google Cloud Storage Tool";
|
||||
maintainers = [ "Russell O'Connor <oconnorr@google.com>" ];
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
doCheck = false;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/g/gsutil/gsutil-4.6.tar.gz;
|
||||
sha256 = "1i0clm60162rbk45ljr8nsw4ndkzjnwb7r440shcqjrvw8jq49mn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ boto-230 crcmod httplib2 gcs-oauth2-boto-plugin google_api_python_client gflags
|
||||
retry_decorator pkgs.pyopenssl socksipy-branch ];
|
||||
};
|
||||
|
||||
pypi2nix = self.buildPythonPackage rec {
|
||||
rev = "04a68d8577acbceb88bdf51b1231a9dbdead7003";
|
||||
|
Loading…
Reference in New Issue
Block a user