blob: b472f77f21ba80cdcc83572d9b1e826062c708ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "dahlia";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dahlia-lib";
repo = "dahlia";
tag = finalAttrs.version;
hash = "sha256-489wI0SoC6EU9lC2ISYsLOJUC8g+kLA7UpOrDiBCBmo=";
};
build-system = [ hatchling ];
pythonImportsCheck = [ "dahlia" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/dahlia-lib/dahlia/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Simple text formatting package, inspired by the game Minecraft";
license = lib.licenses.mit;
homepage = "https://github.com/dahlia-lib/dahlia";
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "dahlia";
};
})
|