threadcat: init at 0.1.2

(cherry picked from commit ae6a1c5699)
This commit is contained in:
Jan-Niklas Burfeind 2026-04-25 19:01:06 +02:00 committed by github-actions[bot]
commit 2fef72642d

View file

@ -0,0 +1,32 @@
{
lib,
fetchFromCodeberg,
nix-update-script,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "threadcat";
version = "0.1.2";
src = fetchFromCodeberg {
owner = "blinry";
repo = "threadcat";
tag = "v${finalAttrs.version}";
hash = "sha256-AbdxEgnUM5iqFTKrMK2FnFWvELk46PEEWSVAlv1MBzQ=";
};
cargoHash = "sha256-F46gEUWcKl1nFS1faXeWJLV0lmCrJhBN3XpOiTcGXEc=";
passthru.updateScript = nix-update-script { };
__structuredAttrs = true;
meta = {
description = "Converts a Mastodon thread to Markdown, and downloads all contained media files";
homepage = "https://codeberg.org/blinry/threadcat";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.aiyion ];
mainProgram = "threadcat";
};
})