python312Packages.eve: 2.1.0 -> 2.2.0

Diff: https://github.com/pyeve/eve/compare/refs/tags/v2.1.0...v2.2.0

Changelog: https://github.com/pyeve/eve/blob/v2.2.0/CHANGES.rst
This commit is contained in:
Fabian Affolter 2024-11-16 12:21:13 +01:00
parent d1e5a3c7b6
commit d5ef44e3bc

View File

@ -1,51 +1,50 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
flask,
events,
pymongo,
simplejson,
cerberus,
events,
fetchFromGitHub,
flask,
pymongo,
pythonOlder,
setuptools,
simplejson,
}:
buildPythonPackage rec {
pname = "eve";
version = "2.1.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "Eve";
hash = "sha256-NobIzu+7+NI7M4NRQKjrhye3v6YGMeGnbDRB39b3Dy8=";
};
version = "2.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pyeve";
repo = "eve";
rev = "refs/tags/v${version}";
hash = "sha256-BLDuJLAN6ieaD7vBPV6AwlpPqbAyb+LzEp9AfCHveSY=";
};
pythonRelaxDeps = [ "events" ];
build-system = [ setuptools ];
propagatedBuildInputs = [
cerberus
events
flask
pymongo
simplejson
setuptools
];
postPatch = ''
substituteInPlace setup.py \
--replace "events>=0.3,<0.4" "events>=0.3"
'';
pythonImportsCheck = [ "eve" ];
# tests call a running mongodb instance
# Tests call a running mongodb instance
doCheck = false;
meta = with lib; {
homepage = "https://python-eve.org/";
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 = licenses.bsd3;
maintainers = [ ];