Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit 49fac1f)
- Loading branch information
Showing
2 changed files
with
33 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters