2020-05-09 04:54:15 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, events
|
|
|
|
, pymongo
|
|
|
|
, simplejson
|
|
|
|
, cerberus
|
|
|
|
, setuptools
|
|
|
|
}:
|
2017-09-14 02:37:57 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Eve";
|
2020-07-31 08:56:38 +00:00
|
|
|
version = "1.1.2";
|
2017-09-14 02:37:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 08:56:38 +00:00
|
|
|
sha256 = "a8a1216ef1d3f1a4c4fc5a7bd315eca5a3ef7dfc6b78807cdf19ddfeecafcc3e";
|
2017-09-14 02:37:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cerberus
|
|
|
|
events
|
|
|
|
flask
|
|
|
|
pymongo
|
|
|
|
simplejson
|
2020-05-09 04:54:15 +00:00
|
|
|
setuptools
|
2017-09-14 02:37:57 +00:00
|
|
|
];
|
|
|
|
|
2020-05-09 04:54:15 +00:00
|
|
|
pythonImportsCheck = [ "eve" ];
|
2019-10-17 22:07:16 +00:00
|
|
|
|
2017-09-14 02:37:57 +00:00
|
|
|
# tests call a running mongodb instance
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-05-22 15:49:42 +00:00
|
|
|
homepage = "https://python-eve.org/";
|
2017-09-14 02:37:57 +00:00
|
|
|
description = "Open source Python REST API framework designed for human beings";
|
|
|
|
license = licenses.bsd3;
|
2019-05-22 15:49:42 +00:00
|
|
|
maintainers = [ maintainers.marsam ];
|
2017-09-14 02:37:57 +00:00
|
|
|
};
|
|
|
|
}
|