Files
nixpkgs/pkgs/development/python-modules/eve/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01:00

53 lines
957 B
Nix

{
lib,
buildPythonPackage,
cerberus,
events,
fetchFromGitHub,
flask,
pymongo,
pythonOlder,
setuptools,
simplejson,
}:
buildPythonPackage rec {
pname = "eve";
version = "2.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pyeve";
repo = "eve";
tag = "v${version}";
hash = "sha256-SnypLhUGAw3e0KQ2CjP6NHTIypMJdN18zzzYAG14m7Y=";
};
pythonRelaxDeps = [ "events" ];
build-system = [ setuptools ];
propagatedBuildInputs = [
cerberus
events
flask
pymongo
simplejson
];
pythonImportsCheck = [ "eve" ];
# Tests call a running mongodb instance
doCheck = false;
meta = {
description = "Open source Python REST API framework designed for human beings";
homepage = "https://python-eve.org/";
changelog = "https://github.com/pyeve/eve/blob/v${version}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}