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