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