diff options
author | Samuel Leathers <sam@appliedtrust.com> | 2017-09-15 09:15:54 -0400 |
---|---|---|
committer | Samuel Leathers <sam@appliedtrust.com> | 2017-09-15 09:15:54 -0400 |
commit | 49fac1f824a925a46e91b2648ebc619f3255eec6 (patch) | |
tree | 2dd93461772fade499ec5235fc58c73187653417 /pkgs/development | |
parent | 2edb7e9b2d8ff5db64beb49353353887610d83fb (diff) | |
download | nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.tar nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.tar.gz nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.tar.bz2 nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.tar.lz nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.tar.xz nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.tar.zst nixlib-49fac1f824a925a46e91b2648ebc619f3255eec6.zip |
moto: 0.4.25 -> 0.4.31
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/moto/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/moto/default.nix b/pkgs/development/python-modules/moto/default.nix new file mode 100644 index 000000000000..cf74e1dc1342 --- /dev/null +++ b/pkgs/development/python-modules/moto/default.nix @@ -0,0 +1,32 @@ +{ stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask, requests, pytz +, six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil }: + +buildPythonPackage rec { + pname = "moto"; + version = "0.4.31"; + name = "moto-${version}"; + src = fetchPypi { + inherit pname version; + sha256 = "19s8hfz4mzzzdksa0ddlvrga5mxdaqahk89p5l29a5id8127shr8"; + }; + + propagatedBuildInputs = [ + boto + dateutil + flask + httpretty + jinja2 + pytz + werkzeug + requests + six + xmltodict + ]; + + 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; +} |