2022-01-14 04:29:26 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2018-02-09 11:30:09 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2022-01-14 04:29:26 +00:00
|
|
|
, meson
|
2019-03-05 21:57:51 +00:00
|
|
|
, ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
2022-01-14 04:29:26 +00:00
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, 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
|
2022-01-14 04:29:26 +00:00
|
|
|
, libgudev
|
2018-10-31 22:25:22 +00:00
|
|
|
, libsoup
|
2022-01-14 04:29:26 +00:00
|
|
|
, pantheon
|
2019-10-10 02:47:37 +00:00
|
|
|
}:
|
2018-02-09 11:30:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-05 21:57:51 +00:00
|
|
|
pname = "spice-up";
|
2022-01-14 04:29:26 +00:00
|
|
|
version = "1.9.1";
|
2018-02-09 11:30:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Philip-Scott";
|
|
|
|
repo = "Spice-up";
|
|
|
|
rev = version;
|
2022-01-14 04:29:26 +00:00
|
|
|
sha256 = "sha256-FI6YMbqZfaU19k8pS2eoNCnX8O8F99SHHOxMwHC5fTc=";
|
2018-02-09 11:30:09 +00:00
|
|
|
};
|
2018-10-31 22:25:22 +00:00
|
|
|
|
2018-02-09 11:30:09 +00:00
|
|
|
nativeBuildInputs = [
|
2022-01-14 04:29:26 +00:00
|
|
|
meson
|
2018-08-20 20:31:18 +00:00
|
|
|
ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2022-01-14 04:29:26 +00:00
|
|
|
python3
|
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 = [
|
2022-01-14 04:29:26 +00:00
|
|
|
glib
|
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
|
2022-01-14 04:29:26 +00:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-02-09 11:30:09 +00:00
|
|
|
];
|
|
|
|
|
2022-01-14 04:29:26 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
2019-10-14 20:33:03 +00:00
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 16:33:39 +00:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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";
|
2021-09-18 15:00:51 +00:00
|
|
|
maintainers = with maintainers; [ samdroid-apps xiorcale ] ++ teams.pantheon.members;
|
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;
|
2022-01-14 04:29:26 +00:00
|
|
|
mainProgram = "com.github.philip_scott.spice-up";
|
2018-02-09 11:30:09 +00:00
|
|
|
};
|
|
|
|
}
|