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

27 lines
776 B
Nix
Raw Normal View History

2016-04-17 00:32:05 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, qt4, qmake4Hook, libXtst, libvorbis, hunspell
, libao, ffmpeg, libeb, lzo, xz, libtiff }:
stdenv.mkDerivation rec {
2015-12-10 17:51:07 +00:00
name = "goldendict-1.5.0.ec86515";
2015-09-23 18:06:29 +01:00
src = fetchFromGitHub {
owner = "goldendict";
repo = "goldendict";
2015-12-10 17:51:07 +00:00
rev = "ec865158f5b7116f629e4d451a39ee59093eefa5";
sha256 = "070majwxbn15cy7sbgz7ljl8rkn7vcgkm10884v97csln7bfzwhr";
};
2015-09-23 18:06:29 +01:00
2016-04-17 00:32:05 +01:00
buildInputs = [
pkgconfig qt4 libXtst libvorbis hunspell libao ffmpeg libeb
lzo xz libtiff qmake4Hook
];
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 ];
};
}