aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/office/spice-up
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-10-14 16:33:03 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-14 16:49:39 -0400
commitf0e5192fe2212afcc2f8f9b11218c8969e3f632e (patch)
tree53c3fd024f22cae1974a02d1080f4caad9698be3 /pkgs/applications/office/spice-up
parentbd58bdcf5fd1de0f4193882c6c304b092601fc99 (diff)
spice-up: fix build with vala 0.46
See: https://github.com/Philip-Scott/Spice-up/pull/288
Diffstat (limited to 'pkgs/applications/office/spice-up')
-rw-r--r--pkgs/applications/office/spice-up/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/office/spice-up/default.nix b/pkgs/applications/office/spice-up/default.nix
index a3eda731db79..6c09cc1de472 100644
--- a/pkgs/applications/office/spice-up/default.nix
+++ b/pkgs/applications/office/spice-up/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, fetchpatch
, cmake
, gdk-pixbuf
, gtk3
@@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
vala
wrapGAppsHook
];
+
buildInputs = [
pantheon.elementary-icon-theme
pantheon.granite
@@ -49,6 +51,15 @@ stdenv.mkDerivation rec {
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; {
description = "Create simple and beautiful presentations";
homepage = https://github.com/Philip-Scott/Spice-up;