mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
28 lines
831 B
Nix
28 lines
831 B
Nix
{ stdenv, fetchurl, pkgconfig, libXtst, libvorbis, hunspell
|
|
, libao, ffmpeg, libeb, lzo, xz, libtiff
|
|
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "goldendict-1.5.0.rc2";
|
|
src = fetchurl {
|
|
url = "https://github.com/goldendict/goldendict/archive/1.5.0-RC2.tar.gz";
|
|
sha256 = "1pizz39l61rbps0wby75fkvzyrah805257j33siqybwhsfiy1kmw";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
|
buildInputs = [
|
|
qtbase qtsvg qtwebkit qtx11extras qttools
|
|
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|