75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
41 lines
738 B
Nix
41 lines
738 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, events
|
|
, pymongo
|
|
, simplejson
|
|
, cerberus
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Eve";
|
|
version = "1.1.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5647ee7dd6e063b967276e49f564cd4f96decdd0a218482bdf86c404a2be1fbf";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cerberus
|
|
events
|
|
flask
|
|
pymongo
|
|
simplejson
|
|
setuptools
|
|
];
|
|
|
|
pythonImportsCheck = [ "eve" ];
|
|
|
|
# tests call a running mongodb instance
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://python-eve.org/";
|
|
description = "Open source Python REST API framework designed for human beings";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|