nixpkgs/pkgs/data/documentation/zeal/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

2015-12-20 03:12:01 +01:00
{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
2016-01-13 05:06:42 +01:00
, qtimageformats, qtwebkit, qtx11extras, xorg }:
2015-01-28 00:02:50 +01:00
stdenv.mkDerivation rec {
2016-01-13 05:06:42 +01:00
version = "0.2.1";
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-01-13 05:06:42 +01:00
sha256 = "1j1nfvkwkb2xdh289q5gdb526miwwqmqjyd6fz9qm5dg467wmwa3";
2015-01-28 00:02:50 +01:00
};
buildInputs = [
2016-01-13 05:06:42 +01:00
xorg.xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive
];
2015-01-28 00:02:50 +01:00
2015-05-16 22:20:33 +02:00
configurePhase = ''
runHook preConfigure
2015-05-16 22:20:33 +02:00
qmake PREFIX=/
runHook postConfigure
2015-01-28 00:02:50 +01:00
'';
installPhase = ''
make INSTALL_ROOT=$out install
'';
enableParallelBuilding = true;
meta = {
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/";
license = stdenv.lib.licenses.gpl3;
2015-01-28 00:02:50 +01:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ skeidel ];
};
}