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

37 lines
1.0 KiB
Nix
Raw Normal View History

2015-12-19 18:12:01 -08:00
{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
, qtimageformats, qtwebkit, qtx11extras, xcbutilkeysyms, qmakeHook }:
2015-01-27 15:02:50 -08:00
stdenv.mkDerivation rec {
2016-10-20 01:31:13 -07:00
version = "0.3.1";
2015-01-27 15:02:50 -08:00
name = "zeal-${version}";
src = fetchFromGitHub {
owner = "zealdocs";
repo = "zeal";
2015-05-16 13:20:33 -07:00
rev = "v${version}";
2016-10-20 01:31:13 -07:00
sha256 = "14ld7zm15677jdlasnfa6c42kiswd4d6yg1db50xbk2yflzzwqqa";
2015-01-27 15:02:50 -08:00
};
buildInputs = [
xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive qmakeHook
];
2015-01-27 15:02:50 -08:00
qmakeFlags = [ "PREFIX=/" ];
2015-01-27 15:02:50 -08:00
installFlags = [ "INSTALL_ROOT=$(out)" ];
2015-01-27 15:02:50 -08:00
enableParallelBuilding = true;
meta = {
description = "A simple offline API documentation browser";
2015-01-27 15:02:50 -08: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-27 15:02:50 -08:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ skeidel ];
};
}