3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/vala/default.nix

30 lines
828 B
Nix
Raw Normal View History

2013-03-10 18:53:43 +00:00
{ stdenv, fetchurl, yacc, flex, pkgconfig, glib, dbus, dbus_tools }:
stdenv.mkDerivation rec {
2013-03-10 18:53:43 +00:00
p_name = "vala";
ver_maj = "0.19";
ver_min = "0";
src = fetchurl {
2013-03-10 18:53:43 +00:00
url = "mirror://gnome/sources/${p_name}/${ver_maj}/${name}.tar.xz";
sha256 = "1vn524hcnaggz8zx49mvf7p4z1mscrlj2syg7jjhph8nak5wi0bp";
};
2013-03-10 18:53:43 +00:00
name = "${p_name}-${ver_maj}.${ver_min}";
postPatch = "patchShebangs .";
nativeBuildInputs = [ yacc flex pkgconfig ];
2013-03-10 18:53:43 +00:00
buildInputs = [ glib ] ++ stdenv.lib.optional doCheck [ dbus dbus_tools ];
2013-03-10 18:53:43 +00: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 14:46:26 +01:00
license = "free-copyleft";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.antono ];
};
}