python3Packages.dahlia: fix build and enable tests (#384065)

This commit is contained in:
Arne Keller
2025-02-21 23:57:14 +01:00
committed by GitHub
@@ -2,7 +2,8 @@
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -17,9 +18,11 @@ buildPythonPackage rec {
hash = "sha256-489wI0SoC6EU9lC2ISYsLOJUC8g+kLA7UpOrDiBCBmo=";
};
build-system = [ poetry-core ];
build-system = [ hatchling ];
pythonImportsCheck = [ "dahlia" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.tag}/CHANGELOG.md";
description = "Simple text formatting package, inspired by the game Minecraft";