5cc18c4781
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
27 lines
953 B
Nix
27 lines
953 B
Nix
{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/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "07501k2j9c016bd7rfr6xzaxdplq7j9sd18b5ixbqdbipvn6whnv";
|
|
};
|
|
|
|
nativeBuildInputs = [ automake autoconf which gnome3.vala libtool pkgconfig gobjectIntrospection ];
|
|
buildInputs = [ graphviz glib gnome3.libgee expat ];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "valadoc";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A documentation generator for generating API documentation from Vala source code";
|
|
homepage = https://valadoc.org;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|