nixpkgs/pkgs/development/python-modules/eve/default.nix
2018-07-14 13:47:08 +02:00

35 lines
767 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, flask, jinja2, itsdangerous, events
, markupsafe, pymongo, flask-pymongo, werkzeug, simplejson, cerberus }:
buildPythonPackage rec {
pname = "Eve";
version = "0.8";
src = fetchPypi {
inherit pname version;
sha256 = "9f926c715f88c7a92dc2b950ccc09cccd91f72fe0e93cde806b85d25b947df2f";
};
propagatedBuildInputs = [
cerberus
events
flask-pymongo
flask
itsdangerous
jinja2
markupsafe
pymongo
simplejson
werkzeug
];
# 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;
};
}