summary refs log tree commit diff
path: root/pkgs/development/tools/valadoc/default.nix
blob: 8f9087ee3b3ac6c05b7515ef1d04bdf3522707ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{stdenv, fetchurl, gnome3, automake, autoconf, which, libtool, pkgconfig, graphviz, glib, gobjectIntrospection, expat}:
stdenv.mkDerivation rec {
  version = "0.36.1";
  name = "valadoc-${version}";

  src = fetchurl {
    url = "mirror://gnome/sources/valadoc/${gnome3.versionBranch version}/${name}.tar.xz";
    sha256 = "07501k2j9c016bd7rfr6xzaxdplq7j9sd18b5ixbqdbipvn6whnv";
  };

  nativeBuildInputs = [ automake autoconf which gnome3.vala libtool pkgconfig gobjectIntrospection ];
  buildInputs = [ graphviz glib gnome3.libgee expat ];

  preConfigure = "./autogen.sh";

  passthru = {
    updateScript = gnome3.updateScript {
      packageName = "valadoc";
    };
  };

  meta = with stdenv.lib; {
    description = "valadoc is a documentation generator for generating API documentation from Vala source code";
    homepage = https://valadoc.org;
    license = stdenv.lib.licenses.gpl2;
    maintainers = with maintainers; [ sternenseemann ];
    platforms = with platforms; linux;
  };
}