diff options
author | zendo <linzway@qq.com> | 2022-07-16 12:47:37 +0800 |
---|---|---|
committer | zendo <linzway@qq.com> | 2022-09-02 18:45:44 +0800 |
commit | 0311e1acfdec25d0b7e39a1239a7dbc2054b9dbf (patch) | |
tree | 432a695fd112c47858958c96f9af9b6349fd903e /pkgs/applications/graphics/mangareader | |
parent | 5eb9bf5565c1aa2b375613ed22bdf55f1fd58e29 (diff) |
mangareader: init at 2.0.4
Diffstat (limited to 'pkgs/applications/graphics/mangareader')
-rw-r--r-- | pkgs/applications/graphics/mangareader/default.nix | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/mangareader/default.nix b/pkgs/applications/graphics/mangareader/default.nix new file mode 100644 index 0000000000000..5ae270cca8c19 --- /dev/null +++ b/pkgs/applications/graphics/mangareader/default.nix @@ -0,0 +1,56 @@ +{ lib +, stdenv +, fetchFromGitHub +, wrapQtAppsHook +, extra-cmake-modules +, cmake +, kio +, ki18n +, kxmlgui +, kconfig +, karchive +, kcoreaddons +, kconfigwidgets +, nix-update-script +}: + +stdenv.mkDerivation rec { + pname = "mangareader"; + version = "2.0.4"; + + src = fetchFromGitHub { + owner = "g-fb"; + repo = pname; + rev = version; + hash = "sha256-j5b2O5OgDRaaxNssknTTgVscudk1+mFlGQN5KE6CwcU="; + }; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + wrapQtAppsHook + ]; + + buildInputs = [ + kio + ki18n + kxmlgui + kconfig + karchive + kcoreaddons + kconfigwidgets + ]; + + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + + 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 ]; + }; +} |