eve: 0.6.1 -> 0.7.4
This commit is contained in:
committed by
Franz Pletz
parent
756cd8a6c4
commit
6d367ba9f3
39
pkgs/development/python-modules/eve/default.nix
Normal file
39
pkgs/development/python-modules/eve/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, flask, jinja2, itsdangerous, events
|
||||
, markupsafe, pymongo, flask-pymongo, werkzeug, simplejson, cerberus }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Eve";
|
||||
version = "0.7.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xihl5w2m4vkp0515qjibiy88pk380n5jmj8n9hh7q40b1vx1kwb";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user