Skip to content

Commit

Permalink
Merge pull request #315933 from zendo/upd/mangareader
Browse files Browse the repository at this point in the history
mangareader: 2.1.0 -> 2.2.1
  • Loading branch information
Aleksanaa authored Jun 8, 2024
2 parents d345e6b + 727cac1 commit 0c11926
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 56 deletions.
54 changes: 0 additions & 54 deletions pkgs/applications/graphics/mangareader/default.nix

This file was deleted.

52 changes: 52 additions & 0 deletions pkgs/by-name/ma/mangareader/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
kdePackages,
nix-update-script,
}:

stdenv.mkDerivation rec {
pname = "mangareader";
version = "2.2.1";

src = fetchFromGitHub {
owner = "g-fb";
repo = "mangareader";
rev = version;
hash = "sha256-XX0VaXVYmAs5vmgwslflKIYx1peITp4VmReLkv1nV3I=";
};

nativeBuildInputs = [
cmake
kdePackages.extra-cmake-modules
kdePackages.wrapQtAppsHook
];

buildInputs = with kdePackages; [
qtbase
kio
ki18n
kxmlgui
kconfig
karchive
kcoreaddons
kconfigwidgets
];

passthru.updateScript = nix-update-script { };

meta = {
description = "Qt manga reader for local files";
homepage = "https://github.com/g-fb/mangareader";
changelog = "https://github.com/g-fb/mangareader/releases/tag/${src.rev}";
mainProgram = "mangareader";
platforms = lib.platforms.linux;
license = with lib.licenses; [
gpl3Plus
cc-by-sa-40
];
maintainers = with lib.maintainers; [ zendo ];
};
}
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10474,8 +10474,6 @@ with pkgs;

mandoc = callPackage ../tools/misc/mandoc { };

mangareader = libsForQt5.callPackage ../applications/graphics/mangareader { };

mangohud = callPackage ../tools/graphics/mangohud {
libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl;
mangohud32 = pkgsi686Linux.mangohud;
Expand Down

0 comments on commit 0c11926

Please sign in to comment.