Skip to content

Commit f6a4b41

Browse files
authored
meowpdf: init at 1.0.0 (#404117)
2 parents 374b5fa + 4c3ce3f commit f6a4b41

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
pkg-config,
6+
}:
7+
8+
rustPlatform.buildRustPackage (finalAttrs: {
9+
pname = "meowpdf";
10+
version = "1.0.0";
11+
12+
src = fetchFromGitHub {
13+
owner = "monoamine11231";
14+
repo = "meowpdf";
15+
tag = "v${finalAttrs.version}";
16+
hash = "sha256-C5GqyZW0pDmBuaKM890hx2JZtkZqZx+x/RZFCPhpjho=";
17+
};
18+
19+
cargoHash = "sha256-hCGMm0ORKuyyWU5D9k+nthSwmq8ALz0qASLDaMiW30U=";
20+
21+
nativeBuildInputs = [
22+
pkg-config
23+
rustPlatform.bindgenHook
24+
];
25+
26+
meta = {
27+
description = "PDF viewer for the Kitty terminal with GUI-like usage and Vim-like keybindings written in Rust";
28+
homepage = "https://github.com/monoamine11231/meowpdf";
29+
license = lib.licenses.mit;
30+
maintainers = with lib.maintainers; [ arthsmn ];
31+
mainProgram = "meowpdf";
32+
platforms = lib.platforms.linux;
33+
};
34+
})

0 commit comments

Comments
 (0)