1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/moto/default.nix

43 lines
914 B
Nix
Raw Normal View History

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-04-04 19:11:20 +01:00
version = "1.3.1";
2017-12-30 11:24:45 +00:00
2017-09-15 14:15:54 +01:00
src = fetchPypi {
inherit pname version;
2018-04-04 19:11:20 +01:00
sha256 = "e6b25a32b61ba97bbc2236960ad6865ab111962a927de720c907475adff4499b";
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;
}