valadoc: fix build

This commit is contained in:
Jan Tojnar 2018-03-14 13:51:29 +01:00
parent 288ce670b1
commit 9e5fa0abed
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,12 +1,11 @@
{stdenv, fetchgit, gnome3, automake, autoconf, which, libtool, pkgconfig, graphviz, glib, gobjectIntrospection, expat}:
{stdenv, fetchurl, gnome3, automake, autoconf, which, libtool, pkgconfig, graphviz, glib, gobjectIntrospection, expat}:
stdenv.mkDerivation rec {
version = "2016-11-11";
name = "valadoc-unstable-${version}";
version = "0.36.1";
name = "valadoc-${version}";
src = fetchgit {
url = "git://git.gnome.org/valadoc";
rev = "8080b626db9c16ac9a0a9802677b4f6ab0d36d4e";
sha256 = "1y00yls4wgxggzfagm3hcmzkpskfbs3m52pjgl71lg4p85kv6msv";
src = fetchurl {
url = "mirror://gnome/sources/valadoc/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "07501k2j9c016bd7rfr6xzaxdplq7j9sd18b5ixbqdbipvn6whnv";
};
nativeBuildInputs = [ automake autoconf which gnome3.vala libtool pkgconfig gobjectIntrospection ];
@ -14,6 +13,12 @@ stdenv.mkDerivation rec {
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 = http://valadoc.org;