nixpkgs/pkgs/development/tools/valadoc/default.nix

28 lines
955 B
Nix
Raw Normal View History

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