3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/eve/default.nix

40 lines
840 B
Nix
Raw Normal View History

2017-09-14 03:37:57 +01:00
{ stdenv, buildPythonPackage, fetchPypi, flask, jinja2, itsdangerous, events
, markupsafe, pymongo, flask-pymongo, werkzeug, simplejson, cerberus }:
buildPythonPackage rec {
pname = "Eve";
2018-01-20 10:58:02 +00:00
version = "0.7.6";
2017-09-14 03:37:57 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-20 10:58:02 +00:00
sha256 = "1ba84ab471bc2203a728fe4707a9279c44420224180b418601778125f51577ff";
2017-09-14 03:37:57 +01:00
};
patches = [
./setup.patch
];
propagatedBuildInputs = [
cerberus
events
flask-pymongo
flask
itsdangerous
jinja2
markupsafe
pymongo
simplejson
werkzeug
];
# tests call a running mongodb instance
doCheck = false;
meta = with stdenv.lib; {
homepage = "http://python-eve.org/";
description = "Open source Python REST API framework designed for human beings";
license = licenses.bsd3;
};
}