2018-09-13 17:03:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, flask, events
|
|
|
|
, pymongo, simplejson, cerberus }:
|
2017-09-14 04:37:57 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Eve";
|
2018-10-06 12:56:17 +02:00
|
|
|
version = "0.8.1";
|
2017-09-14 04:37:57 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 12:56:17 +02:00
|
|
|
sha256 = "88105080e8a2567a1a8d50a5cded0d7d95e95f704b310c8107ef2ff7696f5316";
|
2017-09-14 04:37:57 +02: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;
|
|
|
|
};
|
|
|
|
}
|