mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
29 lines
832 B
Nix
29 lines
832 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";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig qtbase qtsvg qtwebkit qtx11extras qttools
|
|
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
|
|
];
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
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 ];
|
|
};
|
|
}
|