2018-02-09 11:30:09 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2019-10-14 20:33:03 +00:00
|
|
|
, fetchpatch
|
2019-03-05 21:57:51 +00:00
|
|
|
, cmake
|
2019-05-22 11:03:39 +00:00
|
|
|
, gdk-pixbuf
|
2019-03-05 21:57:51 +00:00
|
|
|
, gtk3
|
2019-10-10 02:47:37 +00:00
|
|
|
, vala
|
2018-02-09 11:30:09 +00:00
|
|
|
, gettext
|
2019-03-05 21:57:51 +00:00
|
|
|
, ninja
|
|
|
|
, pantheon
|
2018-02-09 11:30:09 +00:00
|
|
|
, pkgconfig
|
2018-02-25 02:23:58 +00:00
|
|
|
, json-glib
|
2018-02-09 11:30:09 +00:00
|
|
|
, libgudev
|
|
|
|
, libevdev
|
2019-03-05 21:57:51 +00:00
|
|
|
, libgee
|
2018-10-31 22:25:22 +00:00
|
|
|
, libsoup
|
2019-10-10 02:47:37 +00:00
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-02-09 11:30:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-05 21:57:51 +00:00
|
|
|
pname = "spice-up";
|
2019-06-03 05:00:46 +00:00
|
|
|
version = "1.8.2";
|
2018-02-09 11:30:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Philip-Scott";
|
|
|
|
repo = "Spice-up";
|
|
|
|
rev = version;
|
2019-06-03 05:00:46 +00:00
|
|
|
sha256 = "1pix911l4ddn50026a5sbpqfzba6fmw40m1yzbknmkgd2ny28f0m";
|
2018-02-09 11:30:09 +00:00
|
|
|
};
|
2018-10-31 22:25:22 +00:00
|
|
|
|
2019-03-05 21:57:51 +00:00
|
|
|
USER = "pbuilder";
|
2018-02-09 11:30:09 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
gettext
|
2018-08-20 20:31:18 +00:00
|
|
|
ninja
|
|
|
|
pkgconfig
|
2019-10-10 02:47:37 +00:00
|
|
|
vala
|
2018-08-20 20:31:18 +00:00
|
|
|
wrapGAppsHook
|
2018-02-09 11:30:09 +00:00
|
|
|
];
|
2019-10-14 20:33:03 +00:00
|
|
|
|
2018-02-09 11:30:09 +00:00
|
|
|
buildInputs = [
|
2018-08-20 20:31:18 +00:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2019-05-22 11:03:39 +00:00
|
|
|
gdk-pixbuf
|
2018-10-31 22:25:22 +00:00
|
|
|
gtk3
|
2018-02-25 02:23:58 +00:00
|
|
|
json-glib
|
2018-02-09 11:30:09 +00:00
|
|
|
libevdev
|
2019-03-05 21:57:51 +00:00
|
|
|
libgee
|
2018-10-31 22:25:22 +00:00
|
|
|
libgudev
|
|
|
|
libsoup
|
2018-02-09 11:30:09 +00:00
|
|
|
];
|
|
|
|
|
2019-10-14 20:33:03 +00:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-09 11:30:09 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-03-05 21:57:51 +00:00
|
|
|
description = "Create simple and beautiful presentations";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Philip-Scott/Spice-up";
|
2020-05-08 07:08:53 +00:00
|
|
|
maintainers = with maintainers; [ samdroid-apps xiorcale ] ++ pantheon.maintainers;
|
2018-02-09 11:30:09 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
# The COPYING file has GPLv3; some files have GPLv2+ and some have GPLv3+
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|