2018-09-13 15:03:57 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, flask, events
|
|
|
|
, pymongo, simplejson, cerberus }:
|
2017-09-14 02:37:57 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Eve";
|
2018-06-12 16:47:00 +00:00
|
|
|
version = "0.8";
|
2017-09-14 02:37:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 16:47:00 +00:00
|
|
|
sha256 = "9f926c715f88c7a92dc2b950ccc09cccd91f72fe0e93cde806b85d25b947df2f";
|
2017-09-14 02:37:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|