depot/third_party/nixpkgs/pkgs/development/python-modules/dahlia/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

31 lines
769 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 = {
changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.rev}/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";
};
}