3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/documentation/zeal/default.nix

41 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, extra-cmake-modules, pkgconfig
, qtbase, qtimageformats, qtwebkit, qtx11extras
, libarchive, libXdmcp, libpthreadstubs, xcbutilkeysyms }:
2015-01-27 23:02:50 +00:00
stdenv.mkDerivation rec {
name = "zeal-${version}";
2018-02-18 23:40:21 +00:00
version = "0.6.0";
2015-01-27 23:02:50 +00:00
src = fetchFromGitHub {
owner = "zealdocs";
repo = "zeal";
rev = "v${version}";
2018-02-18 23:40:21 +00:00
sha256 = "0zsrb89jz04b8in1d69p7mg001yayyljc47vdlvm48cjbhvxwj0k";
2015-01-27 23:02:50 +00:00
};
# while ads can be disabled from the user settings, by default they are not so
# we patch it out completely instead
patches = [ ./remove_ads.patch ];
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
buildInputs = [
qtbase qtimageformats qtwebkit qtx11extras
libarchive
libXdmcp libpthreadstubs xcbutilkeysyms
];
2015-01-27 23:02:50 +00:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
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 (macOS
2015-01-27 23:02:50 +00:00
app), available for Linux and Windows.
'';
homepage = https://zealdocs.org/;
license = licenses.gpl3;
2017-12-11 00:05:54 +00:00
maintainers = with maintainers; [ skeidel peterhoeg ];
platforms = platforms.linux;
2015-01-27 23:02:50 +00:00
};
}