nixpkgs/pkgs/applications/misc/qolibri/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
815 B
Nix
Raw Normal View History

2022-09-14 01:53:59 +00:00
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, libeb, lzo
, qtmultimedia, qttools, qtwebengine, wrapQtAppsHook }:
2018-12-18 09:56:37 +00:00
2022-09-14 01:53:59 +00:00
stdenv.mkDerivation rec {
pname = "qolibri";
2022-09-14 01:53:59 +00:00
version = "2.1.4";
2018-12-18 09:56:37 +00:00
src = fetchFromGitHub {
owner = "ludios";
repo = "qolibri";
2022-09-14 01:53:59 +00:00
rev = version;
sha256 = "jyLF1MKDVH0Lt8lw+O93b+LQ4J+s42O3hebthJk83hg=";
2018-12-18 09:56:37 +00:00
};
2022-09-14 01:53:59 +00:00
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
2018-12-18 09:56:37 +00:00
buildInputs = [
2022-09-14 01:53:59 +00:00
libeb lzo qtmultimedia qtwebengine
2018-12-18 09:56:37 +00:00
];
2022-09-14 01:53:59 +00:00
postInstall = ''
install -D $src/qolibri.desktop -t $out/share/applications
'';
2019-09-10 21:26:57 +00:00
meta = with lib; {
homepage = "https://github.com/ludios/qolibri";
2018-12-18 09:56:37 +00:00
description = "EPWING reader for viewing Japanese dictionaries";
platforms = platforms.linux;
maintainers = with maintainers; [ ];
2018-12-18 09:56:37 +00:00
license = licenses.gpl2;
};
}