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

24 lines
771 B
Nix
Raw Normal View History

2015-09-23 20:06:29 +03:00
{ stdenv, fetchFromGitHub, pkgconfig, qt4, libXtst, libvorbis, hunspell, libao, ffmpeg, libeb, lzo, xz, libtiff }:
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";
};
2015-09-23 20:06:29 +03:00
buildInputs = [ pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff ];
configurePhase = ''
2015-09-23 20:06:29 +03:00
qmake PREFIX=$out 'CONFIG+=zim_support'
'';
meta = {
homepage = http://goldendict.org/;
description = "a feature-rich dictionary lookup program";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.astsmtl ];
};
}