at master 763 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 flit-core, 5 lib, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "esper"; 11 version = "3.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "benmoran56"; 16 repo = "esper"; 17 tag = "v${version}"; 18 hash = "sha256-DZAF2B40ulSn2MQadklT32Svcm1j0e/hIxrxISO07TI="; 19 }; 20 21 build-system = [ flit-core ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 pythonImportsCheck = [ "esper" ]; 25 26 meta = { 27 description = "ECS (Entity Component System) for Python"; 28 homepage = "https://github.com/benmoran56/esper"; 29 changelog = "https://github.com/benmoran56/esper/blob/${src.rev}/RELEASE_NOTES"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ sigmanificient ]; 32 }; 33}