python312Packages.scrap-engine: refactor (#369868)

This commit is contained in:
OTABI Tomoya
2025-01-10 18:24:52 +09:00
committed by GitHub
@@ -2,24 +2,35 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "scrap_engine";
pname = "scrap-engine";
version = "1.4.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
pname = "scrap_engine";
inherit version;
hash = "sha256-qxzbVYFcSKcL2HtMlH9epO/sCx9HckWAt/NyVD8QJBQ=";
};
nativeBuildInputs = [ setuptools-scm ];
build-system = [
setuptools
setuptools-scm
];
meta = with lib; {
maintainers = with maintainers; [ fgaz ];
pythonImportsCheck = [ "scrap_engine" ];
# raise scrap_engine.CoordinateError
doCheck = false;
meta = {
maintainers = with lib.maintainers; [ fgaz ];
description = "2D ascii game engine for the terminal";
homepage = "https://github.com/lxgr-linux/scrap_engine";
license = licenses.gpl3Only;
license = lib.licenses.gpl3Only;
};
}