Commit b5759537 authored by FliegendeWurst's avatar FliegendeWurst
Browse files

python3Packages.dahlia: fix build and enable tests

parent 798e8fcf
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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";