1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/python-modules/eve/default.nix
Uli Baum 9e4b0b795c pythonPackages.eve: fix build, drop incorrect dependencies
Build failed because of dependency Flask-PyMongo, which actually
isn't a dependency of eve as they have their own flask_pymongo code.

- Drop incorrect dependency flask-pymongo
- Drop redunant dependencies already propageted by flask:
  itsdangerous, werkzeug, jinja2
- Drop dependency markupsafe, not required any more
2018-09-13 17:09:51 +02:00

30 lines
634 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, flask, events
, pymongo, simplejson, cerberus }:
buildPythonPackage rec {
pname = "Eve";
version = "0.8";
src = fetchPypi {
inherit pname version;
sha256 = "9f926c715f88c7a92dc2b950ccc09cccd91f72fe0e93cde806b85d25b947df2f";
};
propagatedBuildInputs = [
cerberus
events
flask
pymongo
simplejson
];
# tests call a running mongodb instance
doCheck = false;
meta = with stdenv.lib; {
homepage = "http://python-eve.org/";
description = "Open source Python REST API framework designed for human beings";
license = licenses.bsd3;
};
}