2017-12-30 11:24:45 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask
|
|
|
|
, requests, pytz, backports_tempfile, cookies, jsondiff, botocore, aws-xray-sdk, docker
|
|
|
|
, six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil, mock, pyaml }:
|
2017-09-15 14:15:54 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "moto";
|
2018-01-20 10:58:45 +00:00
|
|
|
version = "1.2.0";
|
2017-12-30 11:24:45 +00:00
|
|
|
|
2017-09-15 14:15:54 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-20 10:58:45 +00:00
|
|
|
sha256 = "c42b894cdf35412c95f0c6b40309cf802436e049cd172dc5db7516c7b845191b";
|
2017-09-15 14:15:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2017-12-30 11:24:45 +00:00
|
|
|
aws-xray-sdk
|
2017-09-15 14:15:54 +01:00
|
|
|
boto
|
2017-12-30 11:24:45 +00:00
|
|
|
boto3
|
2017-09-15 14:15:54 +01:00
|
|
|
dateutil
|
|
|
|
flask
|
|
|
|
httpretty
|
|
|
|
jinja2
|
|
|
|
pytz
|
|
|
|
werkzeug
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
xmltodict
|
2017-12-30 11:24:45 +00:00
|
|
|
mock
|
|
|
|
pyaml
|
|
|
|
backports_tempfile
|
|
|
|
cookies
|
|
|
|
jsondiff
|
|
|
|
botocore
|
|
|
|
docker
|
2017-09-15 14:15:54 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ boto3 nose sure freezegun ];
|
|
|
|
|
|
|
|
checkPhase = "nosetests";
|
|
|
|
|
|
|
|
# TODO: make this true; I think lots of the tests want network access but we can probably run the others
|
|
|
|
doCheck = false;
|
|
|
|
}
|