python27Packages.eve: 1.0 -> 1.1

This commit is contained in:
R. RyanTM 2020-05-09 04:54:15 +00:00 committed by Mario Rodas
parent 15cebd3153
commit 65d33d6ea5
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

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;