nixpkgs-suyu/pkgs/development/compilers/vala/default.nix

32 lines
903 B
Nix
Raw Normal View History

{ stdenv, fetchurl, yacc, flex, pkgconfig, glib, dbus, dbus_tools
, libiconvOrEmpty, libintlOrEmpty }:
stdenv.mkDerivation rec {
2013-03-10 19:53:43 +01:00
p_name = "vala";
ver_maj = "0.19";
ver_min = "0";
src = fetchurl {
2013-03-10 19:53:43 +01:00
url = "mirror://gnome/sources/${p_name}/${ver_maj}/${name}.tar.xz";
sha256 = "1vn524hcnaggz8zx49mvf7p4z1mscrlj2syg7jjhph8nak5wi0bp";
};
2013-03-10 19:53:43 +01:00
name = "${p_name}-${ver_maj}.${ver_min}";
postPatch = "patchShebangs .";
nativeBuildInputs = [ yacc flex pkgconfig ];
buildInputs = [ glib ] ++ libiconvOrEmpty ++ libintlOrEmpty
2013-04-13 23:29:56 +02:00
++ stdenv.lib.optional doCheck [ dbus dbus_tools ];
2013-03-10 19:53:43 +01:00
doCheck = false; # problems when launching dbus tests
meta = {
description = "Compiler for the GObject type system";
homepage = "http://live.gnome.org/Vala";
2012-06-25 15:46:26 +02:00
license = "free-copyleft";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}