2018-07-01 10:57:58 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
|
2016-06-20 16:59:00 +01:00
|
|
|
, libao, ffmpeg, libeb, lzo, xz, libtiff
|
2017-06-02 16:40:19 +01:00
|
|
|
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
|
2012-02-05 21:02:27 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-06-02 16:40:19 +01:00
|
|
|
|
2018-07-01 10:57:58 +01:00
|
|
|
name = "goldendict-2018-06-13";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "goldendict";
|
|
|
|
repo = "goldendict";
|
|
|
|
rev = "48e850c7ec11d83cba7499f7fdce377ef3849bbb";
|
|
|
|
sha256 = "0i4q4waqjv45hgwillvjik97pg26kwlmz4925djjkx8s6hxgjlq9";
|
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
|
2017-06-02 16:40:19 +01:00
|
|
|
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
|
2016-04-17 00:32:05 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
qmakeFlags = [ "CONFIG+=zim_support" ];
|
2012-02-05 21:02:27 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://goldendict.org/;
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "A feature-rich dictionary lookup program";
|
2012-02-05 21:02:27 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2018-07-01 10:57:58 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ gebner astsmtl ];
|
2012-02-05 21:02:27 +00:00
|
|
|
};
|
|
|
|
}
|