Merge pull request #188444 from Baitinq/manga-cli

This commit is contained in:
Martin Weinelt 2022-08-31 19:37:25 +02:00 committed by GitHub
commit 77c9266241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 0 deletions

View File

@ -1423,6 +1423,12 @@
githubId = 35324;
name = "Badi' Abdul-Wahid";
};
baitinq = {
email = "manuelpalenzuelamerino@gmail.com";
name = "Baitinq";
github = "Baitinq";
githubId = 30861839;
};
balodja = {
email = "balodja@gmail.com";
github = "balodja";

View File

@ -0,0 +1,39 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, makeWrapper
, img2pdf
, zathura
}:
stdenvNoCC.mkDerivation {
pname = "manga-cli";
version = "unstable-2022-04-11";
src = fetchFromGitHub {
owner = "7USTIN";
repo = "manga-cli";
rev = "a69fe935341eaf96618a6b2064d4dcb36c8690b5";
sha256 = "sha256-AnpOEgOBt2a9jtPNvfBnETGtc5Q1WBmSRFDvQB7uBE4=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
install -Dm755 manga-cli $out/bin/manga-cli
wrapProgram $out/bin/manga-cli \
--prefix PATH : ${lib.makeBinPath [ img2pdf zathura ]}
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/7USTIN/manga-cli";
description = "Bash script for reading mangas via the terminal by scraping manganato";
license = licenses.gpl3Only;
maintainers = with maintainers; [ baitinq ];
};
}

View File

@ -28046,6 +28046,8 @@ with pkgs;
hakuneko = callPackage ../tools/misc/hakuneko { };
manga-cli = callPackage ../tools/misc/manga-cli { };
hamster = callPackage ../applications/misc/hamster { };
hacpack = callPackage ../tools/compression/hacpack { };