Skip to content

Commit 9f41a78

Browse files
python3Packages.dahlia: fix build and enable tests (#384065)
2 parents 9e48354 + b575953 commit 9f41a78

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pkgs/development/python-modules/dahlia/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
poetry-core,
5+
hatchling,
6+
pytestCheckHook,
67
}:
78

89
buildPythonPackage rec {
@@ -17,9 +18,11 @@ buildPythonPackage rec {
1718
hash = "sha256-489wI0SoC6EU9lC2ISYsLOJUC8g+kLA7UpOrDiBCBmo=";
1819
};
1920

20-
build-system = [ poetry-core ];
21+
build-system = [ hatchling ];
2122
pythonImportsCheck = [ "dahlia" ];
2223

24+
nativeCheckInputs = [ pytestCheckHook ];
25+
2326
meta = {
2427
changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.tag}/CHANGELOG.md";
2528
description = "Simple text formatting package, inspired by the game Minecraft";

0 commit comments

Comments
 (0)