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

34 lines
988 B
Nix
Raw Normal View History

2019-08-02 23:04:12 +01:00
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
, libao, ffmpeg, libeb, lzo, xz, libtiff, opencc
2017-06-02 16:40:19 +01:00
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
2019-08-13 22:52:01 +01:00
mkDerivation {
2017-06-02 16:40:19 +01:00
2019-08-02 23:04:12 +01:00
name = "goldendict-2019-08-01";
src = fetchFromGitHub {
owner = "goldendict";
repo = "goldendict";
2019-08-02 23:04:12 +01:00
rev = "0f951b06a55f3a201891cf645a556e773bda5f52";
sha256 = "1d1hn95vhvsmbq9q96l5adn90g0hg25dl01knb4y4v6v9x4yrl2x";
};
2015-09-23 18:06:29 +01:00
nativeBuildInputs = [ pkgconfig qmake ];
2016-04-17 00:32:05 +01:00
buildInputs = [
qtbase qtsvg qtwebkit qtx11extras qttools
2019-08-02 23:04:12 +01:00
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff opencc
2016-04-17 00:32:05 +01:00
];
2019-08-02 23:04:12 +01:00
qmakeFlags = [
"goldendict.pro"
"CONFIG+=zim_support"
"CONFIG+=chinese_conversion_support"
];
2019-08-02 23:04:12 +01:00
meta = with lib; {
homepage = http://goldendict.org/;
description = "A feature-rich dictionary lookup program";
2018-09-01 12:53:01 +01:00
platforms = platforms.linux;
maintainers = with maintainers; [ gebner astsmtl ];
license = licenses.gpl3Plus;
};
}