mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
qcomicbook: init at 0.9.1. (#44074)
This commit is contained in:
parent
25176c8812
commit
028b64ab08
@ -1570,6 +1570,11 @@
|
||||
github = "grburst";
|
||||
name = "Julius Elias";
|
||||
};
|
||||
greydot = {
|
||||
email = "lanablack@amok.cc";
|
||||
github = "greydot";
|
||||
name = "Lana Black";
|
||||
};
|
||||
gridaphobe = {
|
||||
email = "eric@seidel.io";
|
||||
github = "gridaphobe";
|
||||
|
43
pkgs/applications/graphics/qcomicbook/default.nix
Normal file
43
pkgs/applications/graphics/qcomicbook/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -18160,6 +18160,8 @@ with pkgs;
|
||||
|
||||
qbittorrent = libsForQt5.callPackage ../applications/networking/p2p/qbittorrent { };
|
||||
|
||||
qcomicbook = libsForQt5.callPackage ../applications/graphics/qcomicbook { };
|
||||
|
||||
eiskaltdcpp = callPackage ../applications/networking/p2p/eiskaltdcpp {
|
||||
lua5 = lua5_1;
|
||||
miniupnpc = miniupnpc_1;
|
||||
|
Loading…
Reference in New Issue
Block a user