2015-09-23 20:06:29 +03:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, qt4, libXtst, libvorbis, hunspell, libao, ffmpeg, libeb, lzo, xz, libtiff }:
|
2012-02-06 01:02:27 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2015-12-10 20:51:07 +03:00
|
|
|
name = "goldendict-1.5.0.ec86515";
|
2015-09-23 20:06:29 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "goldendict";
|
|
|
|
repo = "goldendict";
|
2015-12-10 20:51:07 +03:00
|
|
|
rev = "ec865158f5b7116f629e4d451a39ee59093eefa5";
|
|
|
|
sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
|
2012-02-06 01:02:27 +04:00
|
|
|
};
|
2015-09-23 20:06:29 +03:00
|
|
|
|
|
|
|
buildInputs = [ pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff ];
|
2012-02-06 01:02:27 +04:00
|
|
|
configurePhase = ''
|
2015-09-23 20:06:29 +03:00
|
|
|
qmake PREFIX=$out 'CONFIG+=zim_support'
|
2012-02-06 01:02:27 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://goldendict.org/;
|
|
|
|
description = "a feature-rich dictionary lookup program";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
|
|
|
};
|
|
|
|
}
|