mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
mangareader: init at 2.0.4
This commit is contained in:
parent
5eb9bf5565
commit
0311e1acfd
2 changed files with 58 additions and 0 deletions
56
pkgs/applications/graphics/mangareader/default.nix
Normal file
56
pkgs/applications/graphics/mangareader/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -8489,6 +8489,8 @@ with pkgs;
|
|||
|
||||
mandoc = callPackage ../tools/misc/mandoc { };
|
||||
|
||||
mangareader = libsForQt5.callPackage ../applications/graphics/mangareader { };
|
||||
|
||||
mangohud = callPackage ../tools/graphics/mangohud {
|
||||
libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl;
|
||||
mangohud32 = pkgsi686Linux.mangohud;
|
||||
|
|
Loading…
Reference in a new issue