git.iko.soy/typeable/nixpkgs
on master help sign in
qcomicbook: init at 0.9.1. (#44074)
commit028b64ab08b1377d7c4a708869f94ac8d2f7b7bf authorgreydot <greydot@users.noreply.github.com> dateSat 1 Sep 2018, 21:39 (8 years ago) parent25176c8
3 files changed+50
maintainers/maintainer-list.nix+5 pkgs/applications/graphics/qcomicbook/default.nix+43 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -1570,6 +1570,11 @@
15701570 github = "grburst";
15711571 name = "Julius Elias";
15721572 };
1573+ greydot = {
1574+ email = "lanablack@amok.cc";
1575+ github = "greydot";
1576+ name = "Lana Black";
1577+ };
15731578 gridaphobe = {
15741579 email = "eric@seidel.io";
15751580 github = "gridaphobe";
pkgs/applications/graphics/qcomicbook/default.nixnew file+43
@@ -0,0 +1,43 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools, qtx11extras, poppler_qt5 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "qcomicbook-${version}";
5+ version = "0.9.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "stolowski";
9+ repo = "QComicBook";
10+ rev = version;
11+ sha256 = "1b769lp6gfwds4jb2g7ymhdm9c06zg57zpyz3zpdb40w07zfsjzv";
12+ };
13+
14+ nativeBuildInputs = [
15+ cmake pkgconfig
16+ ];
17+
18+ buildInputs = [
19+ qtbase qttools qtx11extras poppler_qt5
20+ ];
21+
22+ postInstall = ''
23+ substituteInPlace $out/share/applications/*.desktop \
24+ --replace "Exec=qcomicbook" "Exec=$out/bin/qcomicbook"
25+ '';
26+
27+ meta = with stdenv.lib; {
28+ homepage = https://github.com/stolowski/QComicBook;
29+ description = "Comic book reader in Qt5";
30+ license = licenses.gpl2;
31+
32+ longDescription = ''
33+ QComicBook is a viewer for PDF files and comic book archives containing
34+ jpeg/png/xpm/gif/bmp images, which aims at convenience and simplicity.
35+ Features include: automatic unpacking of archive files, full-screen mode, continuous
36+ scrolling mode, double-pages viewing, manga mode, thumbnails view, page scaling,
37+ mouse or keyboard navigation etc.
38+ '';
39+
40+ platforms = platforms.linux;
41+ maintainers = with maintainers; [ greydot ];
42+ };
43+}
pkgs/top-level/all-packages.nix+2
@@ -18160,6 +18160,8 @@ with pkgs;
1816018160
1816118161 qbittorrent = libsForQt5.callPackage ../applications/networking/p2p/qbittorrent { };
1816218162
18163+ qcomicbook = libsForQt5.callPackage ../applications/graphics/qcomicbook { };
18164+
1816318165 eiskaltdcpp = callPackage ../applications/networking/p2p/eiskaltdcpp {
1816418166 lua5 = lua5_1;
1816518167 miniupnpc = miniupnpc_1;