2014-01-07 09:31:52 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt
|
|
|
|
, glib, libiconvOrEmpty, libintlOrEmpty
|
|
|
|
}:
|
2010-07-09 14:15:40 +01:00
|
|
|
|
2014-01-07 09:31:52 +00:00
|
|
|
let
|
|
|
|
major = "0.23";
|
|
|
|
minor = "1";
|
|
|
|
sha256 = "1m8f2d01r4jqp266mk29qsl68lzh7c258cqd5zzbpbryxszlzdfj";
|
|
|
|
in
|
2010-07-09 14:15:40 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-07 09:31:52 +00:00
|
|
|
name = "vala-${major}.${minor}";
|
2012-02-23 19:59:22 +00:00
|
|
|
|
2014-01-07 09:31:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Compiler for GObject type system";
|
|
|
|
homepage = "http://live.gnome.org/Vala";
|
2014-01-07 10:06:36 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2014-01-07 09:31:52 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ antono iyzsong ];
|
2010-07-09 14:15:40 +01:00
|
|
|
};
|
2012-02-23 19:59:22 +00:00
|
|
|
|
2014-01-07 09:31:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
2012-02-23 19:59:22 +00:00
|
|
|
|
2014-01-07 09:31:52 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig flex bison libxslt ];
|
2012-02-23 19:59:22 +00:00
|
|
|
|
2014-01-07 09:31:52 +00:00
|
|
|
buildInputs = [ glib ]
|
|
|
|
++ libiconvOrEmpty
|
|
|
|
++ libintlOrEmpty;
|
2010-07-09 14:15:40 +01:00
|
|
|
}
|