gnome3.pomodoro: fix build

This commit is contained in:
Jan Tojnar 2018-09-13 05:02:42 +02:00
parent ab51dc1bea
commit c36ffca064
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf-archive, appstream-glib, intltool, pkgconfig, libtool, wrapGAppsHook, { stdenv, fetchFromGitHub, fetchpatch, autoconf-archive, appstream-glib, intltool, pkgconfig, libtool, wrapGAppsHook,
dbus-glib, libcanberra, gst_all_1, vala, gnome3, gtk3, libxml2, autoreconfHook, dbus-glib, libcanberra, gst_all_1, vala, gnome3, gtk3, libxml2, autoreconfHook,
glib, gobjectIntrospection, libpeas glib, gobjectIntrospection, libpeas
}: }:
@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
sha256 = "0fiql99nhj168wbfhvzrhfcm4c4569gikd2zaf10vzszdqjahrl1"; sha256 = "0fiql99nhj168wbfhvzrhfcm4c4569gikd2zaf10vzszdqjahrl1";
}; };
patches = [
# build with Vala ≥ 0.42
(fetchpatch {
url = https://github.com/codito/gnome-pomodoro/commit/36778823ca5bd94b2aa948e5d8718f84d99d9af0.patch;
sha256 = "0a9x0p5wny3an9xawam9nhpffw5m4kgwj5jvv0g6c2lwlfzrx2rh";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook vala autoconf-archive libtool intltool appstream-glib autoreconfHook vala autoconf-archive libtool intltool appstream-glib
wrapGAppsHook pkgconfig libxml2 wrapGAppsHook pkgconfig libxml2