mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
d5ef44e3bc
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
53 lines
973 B
Nix
53 lines
973 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cerberus,
|
|
events,
|
|
fetchFromGitHub,
|
|
flask,
|
|
pymongo,
|
|
pythonOlder,
|
|
setuptools,
|
|
simplejson,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "eve";
|
|
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
|
|
];
|
|
|
|
pythonImportsCheck = [ "eve" ];
|
|
|
|
# Tests call a running mongodb instance
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
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 = [ ];
|
|
};
|
|
}
|