2015-12-20 02:12:01 +00:00
|
|
|
{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
|
2017-06-02 16:40:19 +01:00
|
|
|
, qtimageformats, qtwebkit, qtx11extras, xcbutilkeysyms, qmake }:
|
2015-01-27 23:02:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-20 09:31:13 +01:00
|
|
|
version = "0.3.1";
|
2015-01-27 23:02:50 +00:00
|
|
|
name = "zeal-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zealdocs";
|
|
|
|
repo = "zeal";
|
2015-05-16 21:20:33 +01:00
|
|
|
rev = "v${version}";
|
2016-10-20 09:31:13 +01:00
|
|
|
sha256 = "14ld7zm15677jdlasnfa6c42kiswd4d6yg1db50xbk2yflzzwqqa";
|
2015-01-27 23:02:50 +00:00
|
|
|
};
|
|
|
|
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
2015-05-26 16:02:41 +01:00
|
|
|
buildInputs = [
|
2017-06-02 16:40:19 +01:00
|
|
|
xcbutilkeysyms qtbase qtimageformats qtwebkit qtx11extras libarchive
|
2015-05-26 16:02:41 +01:00
|
|
|
];
|
2015-01-27 23:02:50 +00:00
|
|
|
|
2016-04-16 20:59:18 +01:00
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
2015-01-27 23:02:50 +00:00
|
|
|
|
2016-04-16 20:59:18 +01:00
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
2015-01-27 23:02:50 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A simple offline API documentation browser";
|
2015-01-27 23:02:50 +00:00
|
|
|
longDescription = ''
|
|
|
|
Zeal is a simple offline API documentation browser inspired by Dash (OS X
|
|
|
|
app), available for Linux and Windows.
|
|
|
|
'';
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://zealdocs.org/;
|
2015-05-28 18:20:29 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2015-01-27 23:02:50 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ skeidel ];
|
|
|
|
};
|
|
|
|
}
|