2016-06-20 16:59:00 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libXtst, libvorbis, hunspell
|
|
|
|
, 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
|
|
|
|
2016-06-20 16:59:00 +01:00
|
|
|
name = "goldendict-1.5.0.rc2";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/goldendict/goldendict/archive/1.5.0-RC2.tar.gz";
|
|
|
|
sha256 = "1pizz39l61rbps0wby75fkvzyrah805257j33siqybwhsfiy1kmw";
|
2012-02-05 21:02:27 +00:00
|
|
|
};
|
2015-09-23 18:06:29 +01:00
|
|
|
|
2016-04-17 00:32:05 +01:00
|
|
|
buildInputs = [
|
2017-06-02 16:40:19 +01:00
|
|
|
pkgconfig qtbase qtsvg qtwebkit qtx11extras qttools
|
|
|
|
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
|
2016-04-17 00:32:05 +01:00
|
|
|
];
|
|
|
|
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
|
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;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
|
|
|
};
|
|
|
|
}
|