2022-07-16 04:47:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, extra-cmake-modules
|
|
|
|
, cmake
|
|
|
|
, kio
|
|
|
|
, ki18n
|
|
|
|
, kxmlgui
|
|
|
|
, kconfig
|
|
|
|
, karchive
|
|
|
|
, kcoreaddons
|
|
|
|
, kconfigwidgets
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mangareader";
|
2023-04-21 03:42:57 +00:00
|
|
|
version = "2.1.0";
|
2022-07-16 04:47:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "g-fb";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-21 03:42:57 +00:00
|
|
|
hash = "sha256-YZZcp+HS/P/GxWYyOpO35nByJSzv4HahzzrZSVRcCRs=";
|
2022-07-16 04:47:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kio
|
|
|
|
ki18n
|
|
|
|
kxmlgui
|
|
|
|
kconfig
|
|
|
|
karchive
|
|
|
|
kcoreaddons
|
|
|
|
kconfigwidgets
|
|
|
|
];
|
|
|
|
|
2022-12-25 22:11:14 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
2022-07-16 04:47:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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}";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl3Plus cc-by-nc-sa-40 ];
|
|
|
|
maintainers = with maintainers; [ zendo ];
|
|
|
|
};
|
|
|
|
}
|