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