mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 18:14:42 +00:00
Merge pull request #315962 from Sigmanificient/dahlia
This commit is contained in:
commit
52694a4be3
39
pkgs/development/python-modules/dahlia/default.nix
Normal file
39
pkgs/development/python-modules/dahlia/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
poetry-core,
|
||||||
|
testers,
|
||||||
|
dahlia
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dahlia";
|
||||||
|
version = "2.3.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dahlia-lib";
|
||||||
|
repo = "dahlia";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-KQOfTTYA/Jt0UbZ1VKqETwYHtMlOuS2lY0755gqFgxg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ poetry-core ];
|
||||||
|
pythonImportsCheck = [ "dahlia" ];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = dahlia;
|
||||||
|
command = "${lib.getExe dahlia} --version";
|
||||||
|
version = "${version}";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
description = "A 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";
|
||||||
|
};
|
||||||
|
}
|
@ -2704,6 +2704,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
daff = callPackage ../development/python-modules/daff { };
|
daff = callPackage ../development/python-modules/daff { };
|
||||||
|
|
||||||
|
dahlia = callPackage ../development/python-modules/dahlia { };
|
||||||
|
|
||||||
daiquiri = callPackage ../development/python-modules/daiquiri { };
|
daiquiri = callPackage ../development/python-modules/daiquiri { };
|
||||||
|
|
||||||
dalle-mini = callPackage ../development/python-modules/dalle-mini { };
|
dalle-mini = callPackage ../development/python-modules/dalle-mini { };
|
||||||
|
Loading…
Reference in New Issue
Block a user