nixpkgs-suyu/pkgs/development/python-modules/moto/default.nix
2018-04-08 11:34:55 +02:00

42 lines
914 B
Nix

{ 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 }:
buildPythonPackage rec {
pname = "moto";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "e6b25a32b61ba97bbc2236960ad6865ab111962a927de720c907475adff4499b";
};
propagatedBuildInputs = [
aws-xray-sdk
boto
boto3
dateutil
flask
httpretty
jinja2
pytz
werkzeug
requests
six
xmltodict
mock
pyaml
backports_tempfile
cookies
jsondiff
botocore
docker
];
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;
}