python311Packages.esper: init at 3.2

This commit is contained in:
Sigmanificient 2024-05-15 00:33:52 +02:00
parent f0ffef5049
commit 7c63311f45
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{
buildPythonPackage,
fetchFromGitHub,
flit-core,
lib,
pytestCheckHook
}:
buildPythonPackage rec {
pname = "esper";
version = "3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "benmoran56";
repo = "esper";
rev = "refs/tags/v${version}";
hash = "sha256-oH3POxrQPge9BZHG5Y/n9/sWjiCA19mqpoCZfPM6BzA=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "esper" ];
meta = {
description = "An ECS (Entity Component System) for Python";
homepage = "https://github.com/benmoran56/esper";
changelog = "https://github.com/benmoran56/esper/blob/${src.rev}/RELEASE_NOTES";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

View File

@ -3879,6 +3879,8 @@ self: super: with self; {
espeak-phonemizer = callPackage ../development/python-modules/espeak-phonemizer { };
esper = callPackage ../development/python-modules/esper { };
esphome-dashboard-api = callPackage ../development/python-modules/esphome-dashboard-api { };
esprima = callPackage ../development/python-modules/esprima { };