pythonPackages.boto: 2.47.0 -> 2.49.0
refactor move to python-modules
This commit is contained in:
parent
56e277354a
commit
08505d87d3
2 changed files with 39 additions and 30 deletions
38
pkgs/development/python-modules/boto/default.nix
Normal file
38
pkgs/development/python-modules/boto/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ pkgs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, nose
|
||||
, mock
|
||||
, requests
|
||||
, httpretty
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto";
|
||||
version = "2.49.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ea0d3b40a2d852767be77ca343b58a9e3a4b00d9db440efb8da74b4e58025e5a";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/test.py default
|
||||
'';
|
||||
|
||||
checkInputs = [ nose mock ];
|
||||
propagatedBuildInputs = [ requests httpretty ];
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
homepage = https://github.com/boto/boto;
|
||||
license = licenses.mit;
|
||||
description = "Python interface to Amazon Web Services";
|
||||
longDescription = ''
|
||||
The boto module is an integrated interface to current and
|
||||
future infrastructural services offered by Amazon Web
|
||||
Services. This includes S3, SQS, EC2, among others.
|
||||
'';
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -1338,36 +1338,7 @@ in {
|
|||
|
||||
bokeh = callPackage ../development/python-modules/bokeh { };
|
||||
|
||||
boto = buildPythonPackage rec {
|
||||
name = "boto-${version}";
|
||||
version = "2.47.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/boto/boto/archive/${version}.tar.gz";
|
||||
sha256 = "051gq8z9m2cir03jhc00qs36bnpla7zkqm9xqiqcqvdknmi2ndbq";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/test.py default
|
||||
'';
|
||||
|
||||
buildInputs = [ self.nose self.mock ];
|
||||
propagatedBuildInputs = [ self.requests self.httpretty ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/boto/boto;
|
||||
|
||||
license = "bsd";
|
||||
|
||||
description = "Python interface to Amazon Web Services";
|
||||
|
||||
longDescription = ''
|
||||
The boto module is an integrated interface to current and
|
||||
future infrastructural services offered by Amazon Web
|
||||
Services. This includes S3, SQS, EC2, among others.
|
||||
'';
|
||||
};
|
||||
};
|
||||
boto = callPackage ../development/python-modules/boto { };
|
||||
|
||||
boto3 = callPackage ../development/python-modules/boto3 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue