1{ stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask
2, requests, pytz, backports_tempfile, cookies, jsondiff, botocore, aws-xray-sdk, docker
3, six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil, mock, pyaml }:
4
5buildPythonPackage rec {
6 pname = "moto";
7 version = "1.2.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "c42b894cdf35412c95f0c6b40309cf802436e049cd172dc5db7516c7b845191b";
12 };
13
14 propagatedBuildInputs = [
15 aws-xray-sdk
16 boto
17 boto3
18 dateutil
19 flask
20 httpretty
21 jinja2
22 pytz
23 werkzeug
24 requests
25 six
26 xmltodict
27 mock
28 pyaml
29 backports_tempfile
30 cookies
31 jsondiff
32 botocore
33 docker
34 ];
35
36 checkInputs = [ boto3 nose sure freezegun ];
37
38 checkPhase = "nosetests";
39
40 # TODO: make this true; I think lots of the tests want network access but we can probably run the others
41 doCheck = false;
42}