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

42 lines
748 B
Nix
Raw Normal View History

2020-05-09 04:54:15 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, events
, pymongo
, simplejson
, cerberus
, setuptools
}:
2017-09-14 02:37:57 +00:00
buildPythonPackage rec {
pname = "Eve";
2020-10-16 06:58:21 +00:00
version = "1.1.3";
2017-09-14 02:37:57 +00:00
src = fetchPypi {
inherit pname version;
2020-10-16 06:58:21 +00:00
sha256 = "ef335d13b798bc901636643f11455bab8b8698ddfe3a0b67bc251af1fd809b21";
2017-09-14 02:37:57 +00:00
};
propagatedBuildInputs = [
cerberus
events
flask
pymongo
simplejson
2020-05-09 04:54:15 +00:00
setuptools
2017-09-14 02:37:57 +00:00
];
2020-05-09 04:54:15 +00:00
pythonImportsCheck = [ "eve" ];
2017-09-14 02:37:57 +00:00
# tests call a running mongodb instance
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://python-eve.org/";
2017-09-14 02:37:57 +00:00
description = "Open source Python REST API framework designed for human beings";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
2017-09-14 02:37:57 +00:00
};
}