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

34 lines
988 B
Nix
Raw Normal View History

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