2019-08-02 23:04:12 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
|
|
|
|
, libao, ffmpeg, libeb, lzo, xz, libtiff, opencc
|
2017-06-02 16:40:19 +01:00
|
|
|
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
|
2019-08-13 22:52:01 +01:00
|
|
|
mkDerivation {
|
2017-06-02 16:40:19 +01:00
|
|
|
|
2019-08-02 23:04:12 +01:00
|
|
|
name = "goldendict-2019-08-01";
|
2018-07-01 10:57:58 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "goldendict";
|
|
|
|
repo = "goldendict";
|
2019-08-02 23:04:12 +01:00
|
|
|
rev = "0f951b06a55f3a201891cf645a556e773bda5f52";
|
|
|
|
sha256 = "1d1hn95vhvsmbq9q96l5adn90g0hg25dl01knb4y4v6v9x4yrl2x";
|
2012-02-05 21:02:27 +00:00
|
|
|
};
|
2015-09-23 18:06:29 +01:00
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
2016-04-17 00:32:05 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
qtbase qtsvg qtwebkit qtx11extras qttools
|
2019-08-02 23:04:12 +01:00
|
|
|
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff opencc
|
2016-04-17 00:32:05 +01:00
|
|
|
];
|
|
|
|
|
2019-08-02 23:04:12 +01:00
|
|
|
qmakeFlags = [
|
|
|
|
"goldendict.pro"
|
|
|
|
"CONFIG+=zim_support"
|
|
|
|
"CONFIG+=chinese_conversion_support"
|
|
|
|
];
|
2012-02-05 21:02:27 +00:00
|
|
|
|
2019-08-02 23:04:12 +01:00
|
|
|
meta = with lib; {
|
2012-02-05 21:02:27 +00:00
|
|
|
homepage = http://goldendict.org/;
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "A feature-rich dictionary lookup program";
|
2018-09-01 12:53:01 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ gebner astsmtl ];
|
|
|
|
license = licenses.gpl3Plus;
|
2012-02-05 21:02:27 +00:00
|
|
|
};
|
|
|
|
}
|