libfm: switch to fresher vala

This commit is contained in:
Jan Tojnar 2018-08-30 02:00:40 +02:00
parent 9a4240f8fb
commit 2d51cceda4
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, glib, intltool, menu-cache, pango, pkgconfig, vala_0_34
{ stdenv, fetchurl, glib, intltool, menu-cache, pango, pkgconfig, vala
, extraOnly ? false
, withGtk3 ? false, gtk2, gtk3 }:
let
@ -16,12 +16,11 @@ stdenv.mkDerivation rec {
sha256 = "0wkwbi1nyvqza3r1dhrq846axiiq0fy0dqgngnagh76fjrwnzl0q";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gtk intltool pango vala_0_34 ]
++ optional (!extraOnly) menu-cache;
nativeBuildInputs = [ vala pkgconfig intltool ];
buildInputs = [ glib gtk pango ] ++ optional (!extraOnly) menu-cache;
configureFlags = [ (optional extraOnly "--with-extra-only")
(optional withGtk3 "--with-gtk=3") ];
configureFlags = optional extraOnly "--with-extra-only"
++ optional withGtk3 "--with-gtk=3";
enableParallelBuilding = true;