1{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt
2, glib, libiconv, libintlOrEmpty
3}:
4
5let
6 major = "0.23";
7 minor = "2";
8 sha256 = "0g22ss9qbm3fqhx4fxhsyfmdc5g1hgdw4dz9d37f4489kl0qf8pl";
9in
10stdenv.mkDerivation rec {
11 name = "vala-${major}.${minor}";
12
13 meta = {
14 description = "Compiler for GObject type system";
15 homepage = "http://live.gnome.org/Vala";
16 license = stdenv.lib.licenses.lgpl21Plus;
17 platforms = stdenv.lib.platforms.unix;
18 maintainers = with stdenv.lib.maintainers; [ antono ];
19 };
20
21 src = fetchurl {
22 url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
23 inherit sha256;
24 };
25
26 nativeBuildInputs = [ pkgconfig flex bison libxslt ];
27
28 buildInputs = [ glib libiconv ]
29 ++ libintlOrEmpty;
30}