2014-11-17 16:57:21 +03:00
|
|
|
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt
|
2014-11-27 02:16:50 +03:00
|
|
|
, glib, libiconv, libintlOrEmpty
|
2014-11-17 16:57:21 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
major = "0.26";
|
2015-02-12 22:39:09 +03:00
|
|
|
minor = "2";
|
|
|
|
sha256 = "37f13f430c56a93b6dac85239084681fd8f31c407d386809c43bc2f2836e03c4";
|
2014-11-17 16:57:21 +03: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 02:16:50 +03:00
|
|
|
buildInputs = [ glib libiconv ]
|
2014-11-17 16:57:21 +03:00
|
|
|
++ libintlOrEmpty;
|
|
|
|
}
|