diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-09-02 12:10:33 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-09-02 12:10:33 +0200 |
commit | b910b697f69cbe44ccc5e4ea56c30a97b47afc52 (patch) | |
tree | eef88ee5efa19af8c43a69a0393c20ae2cb2ee5f /pkgs/applications/graphics/qcomicbook/default.nix | |
parent | 542a86037d57e4657919fb5130c7bf819d91d2c3 (diff) | |
parent | e5bd74879517e6283113d82bec6309b09152f5cd (diff) | |
download | nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.tar nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.tar.gz nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.tar.bz2 nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.tar.lz nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.tar.xz nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.tar.zst nixlib-b910b697f69cbe44ccc5e4ea56c30a97b47afc52.zip |
Merge master into staging
Diffstat (limited to 'pkgs/applications/graphics/qcomicbook/default.nix')
-rw-r--r-- | pkgs/applications/graphics/qcomicbook/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/qcomicbook/default.nix b/pkgs/applications/graphics/qcomicbook/default.nix new file mode 100644 index 000000000000..d67c8ef9b025 --- /dev/null +++ b/pkgs/applications/graphics/qcomicbook/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools, qtx11extras, poppler_qt5 }: + +stdenv.mkDerivation rec { + name = "qcomicbook-${version}"; + version = "0.9.1"; + + src = fetchFromGitHub { + owner = "stolowski"; + repo = "QComicBook"; + rev = version; + sha256 = "1b769lp6gfwds4jb2g7ymhdm9c06zg57zpyz3zpdb40w07zfsjzv"; + }; + + nativeBuildInputs = [ + cmake pkgconfig + ]; + + buildInputs = [ + qtbase qttools qtx11extras poppler_qt5 + ]; + + postInstall = '' + substituteInPlace $out/share/applications/*.desktop \ + --replace "Exec=qcomicbook" "Exec=$out/bin/qcomicbook" + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/stolowski/QComicBook; + description = "Comic book reader in Qt5"; + license = licenses.gpl2; + + longDescription = '' + QComicBook is a viewer for PDF files and comic book archives containing + jpeg/png/xpm/gif/bmp images, which aims at convenience and simplicity. + Features include: automatic unpacking of archive files, full-screen mode, continuous + scrolling mode, double-pages viewing, manga mode, thumbnails view, page scaling, + mouse or keyboard navigation etc. + ''; + + platforms = platforms.linux; + maintainers = with maintainers; [ greydot ]; + }; +} |