Skip to content

Commit

Permalink
moto: 0.4.25 -> 0.4.31
Browse files Browse the repository at this point in the history
(cherry picked from commit 49fac1f)
  • Loading branch information
Samuel Leathers authored and FRidh committed Sep 16, 2017
1 parent 0ab6f09 commit 81e650b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 21 deletions.
32 changes: 32 additions & 0 deletions 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;
}
22 changes: 1 addition & 21 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -12327,27 +12327,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";
Expand Down

0 comments on commit 81e650b

Please sign in to comment.