spice-up: fix build with vala 0.46

See: https://github.com/Philip-Scott/Spice-up/pull/288
This commit is contained in:
worldofpeace 2019-10-14 16:33:03 -04:00
parent bd58bdcf5f
commit f0e5192fe2

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, gdk-pixbuf , gdk-pixbuf
, gtk3 , gtk3
@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
vala vala
wrapGAppsHook wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
pantheon.elementary-icon-theme pantheon.elementary-icon-theme
pantheon.granite pantheon.granite
@ -49,6 +51,15 @@ stdenv.mkDerivation rec {
libsoup libsoup
]; ];
patches = [
# Fix build with Vala 0.46
# https://github.com/Philip-Scott/Spice-up/pull/288
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/Philip-Scott/Spice-up/pull/288.patch";
sha256 = "0kyfd8v2sk4cvcq1j8ysp64snfjhnpr3iz7l04lx7if7h372xj39";
})
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Create simple and beautiful presentations"; description = "Create simple and beautiful presentations";
homepage = https://github.com/Philip-Scott/Spice-up; homepage = https://github.com/Philip-Scott/Spice-up;