moto: 0.4.25 -> 0.4.31

This commit is contained in:
Samuel Leathers 2017-09-15 09:15:54 -04:00
parent 2edb7e9b2d
commit 49fac1f824
2 changed files with 33 additions and 21 deletions

View file

@ -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;
}

View file

@ -12332,27 +12332,7 @@ in {
moretools = callPackage ../development/python-modules/moretools { };
moto = buildPythonPackage rec {
version = "0.4.25";
name = "moto-${version}";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/df/9e/0b22ac0abf61711c86ae75a0548825e19cc123b522ff3508cbc43924969d/moto-0.4.25.tar.gz";
sha256 = "1gqm7h6bm5xkspd07bnjwdr2q6cvpxkayx0hkgk8fhkawbg0fqq7";
};
propagatedBuildInputs = with self; [
# Main dependencies
jinja2 werkzeug flask requests six boto httpretty xmltodict
# For tests
nose sure boto3 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;
};
moto = callPackage ../development/python-modules/moto {};
mox = buildPythonPackage rec {
name = "mox-0.5.3";