2014-11-17 14:57:21 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt
|
2014-11-27 00:16:50 +01:00
|
|
|
, glib, libiconv, libintlOrEmpty
|
2014-11-17 14:57:21 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
major = "0.26";
|
2015-02-12 20:39:09 +01:00
|
|
|
minor = "2";
|
|
|
|
sha256 = "37f13f430c56a93b6dac85239084681fd8f31c407d386809c43bc2f2836e03c4";
|
2014-11-17 14:57:21 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vala-${major}.${minor}";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Compiler for GObject type system";
|
|
|
|
homepage = "http://live.gnome.org/Vala";
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ antono lethalman ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig flex bison libxslt ];
|
|
|
|
|
2014-11-27 00:16:50 +01:00
|
|
|
buildInputs = [ glib libiconv ]
|
2014-11-17 14:57:21 +01:00
|
|
|
++ libintlOrEmpty;
|
|
|
|
}
|