at 24.11-pre 776 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.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "benmoran56"; 16 repo = "esper"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-oH3POxrQPge9BZHG5Y/n9/sWjiCA19mqpoCZfPM6BzA="; 19 }; 20 21 build-system = [ flit-core ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 pythonImportsCheck = [ "esper" ]; 25 26 meta = { 27 description = "An 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}