forked from mirrors/nixpkgs
42 lines
748 B
Nix
42 lines
748 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, events
|
|
, pymongo
|
|
, simplejson
|
|
, cerberus
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Eve";
|
|
version = "1.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "dbb409c481ffd5100a5ab13177f6ef6284257e33ac8e5090cd50e42533607ebd";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cerberus
|
|
events
|
|
flask
|
|
pymongo
|
|
simplejson
|
|
setuptools
|
|
];
|
|
|
|
pythonImportsCheck = [ "eve" ];
|
|
|
|
# tests call a running mongodb instance
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://python-eve.org/";
|
|
description = "Open source Python REST API framework designed for human beings";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|