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

30 lines
912 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
2016-06-20 17:59:00 +02:00
, libao, ffmpeg, libeb, lzo, xz, libtiff
2017-06-02 17:40:19 +02:00
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
stdenv.mkDerivation rec {
2017-06-02 17:40:19 +02:00
name = "goldendict-2018-06-13";
src = fetchFromGitHub {
owner = "goldendict";
repo = "goldendict";
rev = "48e850c7ec11d83cba7499f7fdce377ef3849bbb";
sha256 = "0i4q4waqjv45hgwillvjik97pg26kwlmz4925djjkx8s6hxgjlq9";
};
2015-09-23 19:06:29 +02:00
nativeBuildInputs = [ pkgconfig qmake ];
2016-04-17 01:32:05 +02:00
buildInputs = [
qtbase qtsvg qtwebkit qtx11extras qttools
2017-06-02 17:40:19 +02:00
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
2016-04-17 01:32:05 +02:00
];
qmakeFlags = [ "CONFIG+=zim_support" ];
2018-09-01 13:53:01 +02:00
meta = with stdenv.lib; {
homepage = http://goldendict.org/;
description = "A feature-rich dictionary lookup program";
2018-09-01 13:53:01 +02:00
platforms = platforms.linux;
maintainers = with maintainers; [ gebner astsmtl ];
license = licenses.gpl3Plus;
};
}