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

37 lines
805 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, flask, events
, pymongo, simplejson, cerberus, werkzeug }:
2017-09-14 03:37:57 +01:00
buildPythonPackage rec {
pname = "Eve";
2019-10-16 10:43:06 +01:00
version = "0.9.2";
2017-09-14 03:37:57 +01:00
src = fetchPypi {
inherit pname version;
2019-10-16 10:43:06 +01:00
sha256 = "0191ed42ef85d747758bba29df5ff1e296b8152fefddb2f75c3d778c2e6fb9d3";
2017-09-14 03:37:57 +01:00
};
propagatedBuildInputs = [
cerberus
events
flask
pymongo
simplejson
werkzeug
2017-09-14 03:37:57 +01:00
];
postPatch = ''
substituteInPlace setup.py \
--replace "werkzeug==0.15.4" "werkzeug"
'';
2017-09-14 03:37:57 +01:00
# tests call a running mongodb instance
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://python-eve.org/";
2017-09-14 03:37:57 +01:00
description = "Open source Python REST API framework designed for human beings";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
2017-09-14 03:37:57 +01:00
};
}