Merge pull request #87329 from r-ryantm/auto-update/python2.7-Eve

python27Packages.eve: 1.0 -> 1.1
This commit is contained in:
Mario Rodas 2020-05-09 20:01:09 -05:00 committed by GitHub
commit 8441d53b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, flask, events
, pymongo, simplejson, cerberus, werkzeug }:
{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, events
, pymongo
, simplejson
, cerberus
, setuptools
}:
buildPythonPackage rec {
pname = "Eve";
version = "1.0";
version = "1.1";
src = fetchPypi {
inherit pname version;
sha256 = "ebde455e631b8eb9d38783eedfbd7e416b4477cce3d9988880eb3e477256a11e";
sha256 = "1a7i7x77p5wjqfzmgn30m9sz2mcz06k4qf5af6a45109lafcq0bv";
};
propagatedBuildInputs = [
@ -16,13 +24,10 @@ buildPythonPackage rec {
flask
pymongo
simplejson
werkzeug
setuptools
];
postPatch = ''
substituteInPlace setup.py \
--replace "werkzeug==0.15.4" "werkzeug"
'';
pythonImportsCheck = [ "eve" ];
# tests call a running mongodb instance
doCheck = false;