1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 setuptools-scm, 7}: 8 9buildPythonPackage rec { 10 pname = "scrap-engine"; 11 version = "1.4.3"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "scrap_engine"; 16 inherit version; 17 hash = "sha256-dNMOS8vYTMsIu28PLt2jhHjL+fSUgdb91V2HsKAjxOo="; 18 }; 19 20 build-system = [ 21 setuptools 22 setuptools-scm 23 ]; 24 25 pythonImportsCheck = [ "scrap_engine" ]; 26 27 # raise scrap_engine.CoordinateError 28 doCheck = false; 29 30 meta = { 31 maintainers = with lib.maintainers; [ fgaz ]; 32 description = "2D ascii game engine for the terminal"; 33 homepage = "https://github.com/lxgr-linux/scrap_engine"; 34 license = lib.licenses.gpl3Only; 35 }; 36}