1{ pkgs
2, buildPythonPackage
3, fetchPypi
4, python
5, nose
6, mock
7, requests
8, httpretty
9}:
10
11buildPythonPackage rec {
12 pname = "boto";
13 version = "2.49.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "ea0d3b40a2d852767be77ca343b58a9e3a4b00d9db440efb8da74b4e58025e5a";
18 };
19
20 checkPhase = ''
21 ${python.interpreter} tests/test.py default
22 '';
23
24 checkInputs = [ nose mock ];
25 propagatedBuildInputs = [ requests httpretty ];
26
27 meta = with pkgs.lib; {
28 homepage = https://github.com/boto/boto;
29 license = licenses.mit;
30 description = "Python interface to Amazon Web Services";
31 longDescription = ''
32 The boto module is an integrated interface to current and
33 future infrastructural services offered by Amazon Web
34 Services. This includes S3, SQS, EC2, among others.
35 '';
36 maintainers = [ maintainers.costrouc ];
37 };
38}