2018-03-14 12:51:29 +00:00
|
|
|
{stdenv, fetchurl, gnome3, automake, autoconf, which, libtool, pkgconfig, graphviz, glib, gobjectIntrospection, expat}:
|
2016-10-09 20:31:50 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-14 12:51:29 +00:00
|
|
|
version = "0.36.1";
|
|
|
|
name = "valadoc-${version}";
|
2016-10-09 20:31:50 +01:00
|
|
|
|
2018-03-14 12:51:29 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/valadoc/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
|
|
sha256 = "07501k2j9c016bd7rfr6xzaxdplq7j9sd18b5ixbqdbipvn6whnv";
|
2016-10-09 20:31:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ automake autoconf which gnome3.vala libtool pkgconfig gobjectIntrospection ];
|
2016-10-10 12:13:52 +01:00
|
|
|
buildInputs = [ graphviz glib gnome3.libgee expat ];
|
2016-10-09 20:31:50 +01:00
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2018-03-14 12:51:29 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "valadoc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-10-09 20:31:50 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "valadoc is a documentation generator for generating API documentation from Vala source code";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://valadoc.org;
|
2016-10-09 20:31:50 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|