2018-12-02 12:41:15 +01:00
|
|
|
{stdenv, fetchurl, gnome3, automake, autoconf, which, libtool, pkgconfig, graphviz, glib, gobject-introspection, expat}:
|
2016-10-09 21:31:50 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-17 02:16:18 +01:00
|
|
|
version = "0.36.2";
|
2018-03-14 13:51:29 +01:00
|
|
|
name = "valadoc-${version}";
|
2016-10-09 21:31:50 +02:00
|
|
|
|
2018-03-14 13:51:29 +01:00
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/valadoc/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-17 02:16:18 +01:00
|
|
|
sha256 = "0hfaskbm7y4z4jf6lxm8hg4c0b8621qn1gchxjxcngq0cpx79z9h";
|
2016-10-09 21:31:50 +02:00
|
|
|
};
|
|
|
|
|
2018-12-02 12:41:15 +01:00
|
|
|
nativeBuildInputs = [ automake autoconf which gnome3.vala libtool pkgconfig gobject-introspection ];
|
2016-10-10 13:13:52 +02:00
|
|
|
buildInputs = [ graphviz glib gnome3.libgee expat ];
|
2016-10-09 21:31:50 +02:00
|
|
|
|
2018-03-14 13:51:29 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "valadoc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-10-09 21:31:50 +02:00
|
|
|
meta = with stdenv.lib; {
|
2018-09-03 00:50:40 +02:00
|
|
|
description = "A documentation generator for generating API documentation from Vala source code";
|
|
|
|
homepage = https://valadoc.org;
|
|
|
|
license = licenses.gpl2;
|
2016-10-09 21:31:50 +02:00
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
2018-09-03 00:50:40 +02:00
|
|
|
platforms = platforms.linux;
|
2016-10-09 21:31:50 +02:00
|
|
|
};
|
|
|
|
}
|