diff options
author | greydot <greydot@users.noreply.github.com> | 2018-09-01 21:39:38 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-01 23:39:38 +0200 |
commit | 028b64ab08b1377d7c4a708869f94ac8d2f7b7bf (patch) | |
tree | 6f86e3e48d8eff82507ae77b8017172db3eb52dd /pkgs/applications/graphics | |
parent | 25176c881253d2855fbdf2fb073d7a6148a4e622 (diff) | |
download | nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.tar nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.tar.gz nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.tar.bz2 nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.tar.lz nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.tar.xz nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.tar.zst nixlib-028b64ab08b1377d7c4a708869f94ac8d2f7b7bf.zip |
qcomicbook: init at 0.9.1. (#44074)
Diffstat (limited to 'pkgs/applications/graphics')
-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 ]; + }; +} |