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

42 lines
738 B
Nix
Raw Normal View History

{ lib
2020-05-09 05:54:15 +01:00
, buildPythonPackage
, fetchPypi
, flask
, events
, pymongo
, simplejson
, cerberus
, setuptools
}:
2017-09-14 03:37:57 +01:00
buildPythonPackage rec {
pname = "Eve";
2021-02-20 09:09:09 +00:00
version = "1.1.5";
2017-09-14 03:37:57 +01:00
src = fetchPypi {
inherit pname version;
2021-02-20 09:09:09 +00:00
sha256 = "5647ee7dd6e063b967276e49f564cd4f96decdd0a218482bdf86c404a2be1fbf";
2017-09-14 03:37:57 +01:00
};
propagatedBuildInputs = [
cerberus
events
flask
pymongo
simplejson
2020-05-09 05:54:15 +01:00
setuptools
2017-09-14 03:37:57 +01:00
];
2020-05-09 05:54:15 +01:00
pythonImportsCheck = [ "eve" ];
2017-09-14 03:37:57 +01:00
# tests call a running mongodb instance
doCheck = false;
meta = with 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
};
}