Merge pull request #226984 from gaykitty/add/kitty-img

This commit is contained in:
Janik 2023-06-26 21:10:38 +02:00 committed by GitHub
commit 99a65dea4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, rustPlatform, fetchFromSourcehut }:
rustPlatform.buildRustPackage rec {
pname = "kitty-img";
version = "1.0.0";
src = fetchFromSourcehut {
owner = "~zethra";
repo = "kitty-img";
rev = version;
hash = "sha256-5thx4ADmJE29bxN+ZO3hF0jhgXK+boqt8oj4Sygl5SU=";
};
cargoHash = "sha256-Ai1Esw83V3jbPDDQyNh8bTNLQBYBonIDkWP3AFgN78U=";
meta = with lib; {
description = "Print images inline in kitty";
homepage = "https://git.sr.ht/~zethra/kitty-img";
changelog = "https://git.sr.ht/~zethra/kitty-img/refs/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ gaykitty ];
};
}

View file

@ -5033,6 +5033,8 @@ with pkgs;
fsql = callPackage ../tools/misc/fsql { };
kitty-img = callPackage ../tools/misc/kitty-img { };
### TOOLS/TYPESETTING/TEX
advi = callPackage ../tools/typesetting/tex/advi { };