Files
nixpkgs/pkgs/development/python-modules/dahlia/default.nix
T
Peder Bergebakken Sundt a27b2a7479 Merge pull request #317998 from Sigmanificient/dahlia-update-3.0.0
python312Packages.dahlia: 2.3.2 -> 3.0.0
2024-06-10 23:55:47 +02:00

32 lines
771 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage rec {
pname = "dahlia";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dahlia-lib";
repo = "dahlia";
rev = "refs/tags/${version}";
hash = "sha256-t8m/7TSzVvETvn3Jar29jCh55Ti+B0NA8Az/8GHwQAg=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "dahlia" ];
meta = with lib; {
changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.rev}/CHANGELOG.md";
description = "Simple text formatting package, inspired by the game Minecraft";
license = licenses.mit;
homepage = "https://github.com/dahlia-lib/dahlia";
maintainers = with maintainers; [ sigmanificient ];
mainProgram = "dahlia";
};
}