depot/third_party/nixpkgs/pkgs/development/python-modules/eve/default.nix

42 lines
748 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, events
, pymongo
, simplejson
, cerberus
, setuptools
}:
buildPythonPackage rec {
pname = "Eve";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "ef335d13b798bc901636643f11455bab8b8698ddfe3a0b67bc251af1fd809b21";
};
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 ];
};
}