anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / eve / default.nix
blob0e25f3a12115c2be914d2d8eb79203abf3792fee
2   lib,
3   buildPythonPackage,
4   cerberus,
5   events,
6   fetchFromGitHub,
7   flask,
8   pymongo,
9   pythonOlder,
10   setuptools,
11   simplejson,
14 buildPythonPackage rec {
15   pname = "eve";
16   version = "2.2.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "pyeve";
23     repo = "eve";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-BLDuJLAN6ieaD7vBPV6AwlpPqbAyb+LzEp9AfCHveSY=";
26   };
28   pythonRelaxDeps = [ "events" ];
30   build-system = [ setuptools ];
32   propagatedBuildInputs = [
33     cerberus
34     events
35     flask
36     pymongo
37     simplejson
38   ];
40   pythonImportsCheck = [ "eve" ];
42   # Tests call a running mongodb instance
43   doCheck = false;
45   meta = with lib; {
46     description = "Open source Python REST API framework designed for human beings";
47     homepage = "https://python-eve.org/";
48     changelog = "https://github.com/pyeve/eve/blob/v${version}/CHANGES.rst";
49     license = licenses.bsd3;
50     maintainers = [ ];
51   };