File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments