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

29 lines
832 B
Nix
Raw Normal View History

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