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

39 lines
961 B
Nix
Raw Normal View History

2015-01-27 23:02:50 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, qt5, libarchive }:
stdenv.mkDerivation rec {
2015-05-16 21:20:33 +01:00
version = "0.1.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}";
sha256 = "172wf50fq1l5p8hq1irvpwr7ljxkjaby71afrm82jz3ixl6dg2ii";
2015-01-27 23:02:50 +00:00
};
2015-05-16 21:20:33 +01:00
buildInputs = [ pkgconfig qt5.base qt5.webkit qt5.imageformats libarchive ];
2015-01-27 23:02:50 +00:00
2015-05-16 21:20:33 +01:00
configurePhase = ''
qmake PREFIX=/
2015-01-27 23:02:50 +00:00
'';
installPhase = ''
make INSTALL_ROOT=$out install
'';
enableParallelBuilding = true;
meta = {
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.
'';
homepage = "http://zealdocs.org/";
2015-04-21 17:05:19 +01:00
license = with stdenv.lib.licenses; [ gpl3 ];
2015-01-27 23:02:50 +00:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ skeidel ];
};
}