gtksourceview4: cleanup

This commit is contained in:
worldofpeace 2019-01-29 20:09:51 -05:00
parent 750c27f432
commit ed63bd949d

View File

@ -1,9 +1,7 @@
{ stdenv, fetchurl, pkgconfig, atk, cairo, glib, gtk3, pango, vala_0_40 { stdenv, fetchurl, pkgconfig, atk, cairo, glib, gtk3, pango, vala_0_40
, libxml2, perl, gettext, gnome3, gobject-introspection, dbus, xvfb_run, shared-mime-info }: , libxml2, perl, gettext, gnome3, gobject-introspection, dbus, xvfb_run, shared-mime-info }:
let stdenv.mkDerivation rec {
checkInputs = [ xvfb_run dbus ];
in stdenv.mkDerivation rec {
name = "gtksourceview-${version}"; name = "gtksourceview-${version}";
version = "4.0.3"; version = "4.0.3";
@ -21,8 +19,9 @@ in stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig gettext perl gobject-introspection vala_0_40 ] nativeBuildInputs = [ pkgconfig gettext perl gobject-introspection vala_0_40 ];
++ stdenv.lib.optionals doCheck checkInputs;
checkInputs = [ xvfb_run dbus ];
buildInputs = [ atk cairo glib pango libxml2 ]; buildInputs = [ atk cairo glib pango libxml2 ];