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