1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/applications/misc/goldendict/default.nix
2018-07-01 12:00:17 +02:00

30 lines
885 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
, libao, ffmpeg, libeb, lzo, xz, libtiff
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
stdenv.mkDerivation rec {
name = "goldendict-2018-06-13";
src = fetchFromGitHub {
owner = "goldendict";
repo = "goldendict";
rev = "48e850c7ec11d83cba7499f7fdce377ef3849bbb";
sha256 = "0i4q4waqjv45hgwillvjik97pg26kwlmz4925djjkx8s6hxgjlq9";
};
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 = with stdenv.lib.maintainers; [ gebner astsmtl ];
};
}