2022-01-19 23:45:15 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2020-08-20 17:08:02 +00:00
|
|
|
, nix-update-script
|
2022-01-19 23:45:15 +00:00
|
|
|
, meson
|
2020-04-24 23:36:52 +00:00
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2022-01-19 23:45:15 +00:00
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, gtk3
|
2020-04-24 23:36:52 +00:00
|
|
|
, json-glib
|
|
|
|
, libevdev
|
|
|
|
, libgee
|
2022-01-19 23:45:15 +00:00
|
|
|
, libgudev
|
2020-04-24 23:36:52 +00:00
|
|
|
, libsoup
|
2022-01-19 23:45:15 +00:00
|
|
|
, pantheon
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "spice-up";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "1.9.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Philip-Scott";
|
|
|
|
repo = "Spice-up";
|
|
|
|
rev = version;
|
2022-01-19 23:45:15 +00:00
|
|
|
sha256 = "sha256-FI6YMbqZfaU19k8pS2eoNCnX8O8F99SHHOxMwHC5fTc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-01-19 23:45:15 +00:00
|
|
|
meson
|
2020-04-24 23:36:52 +00:00
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2022-01-19 23:45:15 +00:00
|
|
|
python3
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-01-19 23:45:15 +00:00
|
|
|
glib
|
2020-04-24 23:36:52 +00:00
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
libevdev
|
|
|
|
libgee
|
|
|
|
libgudev
|
|
|
|
libsoup
|
2022-01-19 23:45:15 +00:00
|
|
|
pantheon.granite
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
2022-12-28 21:21:41 +00:00
|
|
|
updateScript = nix-update-script { };
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Create simple and beautiful presentations";
|
|
|
|
homepage = "https://github.com/Philip-Scott/Spice-up";
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = with maintainers; [ samdroid-apps xiorcale ] ++ teams.pantheon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
# The COPYING file has GPLv3; some files have GPLv2+ and some have GPLv3+
|
|
|
|
license = licenses.gpl3Plus;
|
2022-01-19 23:45:15 +00:00
|
|
|
mainProgram = "com.github.philip_scott.spice-up";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|