libansilove: init at 1.4.2 (#408159)

This commit is contained in:
Aleksana
2025-05-21 21:28:04 +08:00
committed by GitHub
3 changed files with 76 additions and 0 deletions
+6
View File
@@ -11482,6 +11482,12 @@
githubId = 30251156;
name = "Jesse Moore";
};
jethair = {
email = "jethair@duck.com";
github = "JetHair";
githubId = 106916147;
name = "JetHair";
};
jethro = {
email = "jethrokuan95@gmail.com";
github = "jethrokuan";
+35
View File
@@ -0,0 +1,35 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libansilove,
}:
stdenv.mkDerivation rec {
pname = "ansilove";
version = "4.2.1";
src = fetchFromGitHub {
owner = "ansilove";
repo = "ansilove";
tag = version;
hash = "sha256-13v2NLVJt11muwocBiQYz/rxQkte/W6LXwB/H/E9Nvk=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [ libansilove ];
meta = {
description = "ANSI and ASCII art to PNG converter in C";
homepage = "https://github.com/ansilove/ansilove";
changelog = "https://github.com/ansilove/ansilove/blob/${src.rev}/ChangeLog";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ jethair ];
mainProgram = "ansilove";
platforms = lib.platforms.unix;
};
}
+35
View File
@@ -0,0 +1,35 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
gd,
}:
stdenv.mkDerivation rec {
pname = "libansilove";
version = "1.4.2";
src = fetchFromGitHub {
owner = "ansilove";
repo = "libansilove";
tag = version;
hash = "sha256-kbQ7tbQbJ8zYhdbfiVZY26woyR4NNzqjCJ/5nrunlWs=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [ gd ];
meta = {
description = "Library for converting ANSI, ASCII, and other formats to PNG";
homepage = "https://github.com/ansilove/libansilove";
changelog = "https://github.com/ansilove/libansilove/blob/${src.rev}/ChangeLog";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ jethair ];
mainProgram = "libansilove";
platforms = lib.platforms.unix;
};
}