depot/third_party/nixpkgs/pkgs/development/python-modules/esper/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
773 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
flit-core,
lib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "esper";
version = "3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "benmoran56";
repo = "esper";
rev = "refs/tags/v${version}";
hash = "sha256-DZAF2B40ulSn2MQadklT32Svcm1j0e/hIxrxISO07TI=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "esper" ];
meta = {
description = "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 ];
};
}