2018-02-09 11:30:09 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
|
|
|
, pkgconfig
|
|
|
|
, gtk3
|
|
|
|
, granite
|
|
|
|
, gnome3
|
2018-02-25 02:23:58 +00:00
|
|
|
, json-glib
|
2018-02-09 11:30:09 +00:00
|
|
|
, cmake
|
|
|
|
, ninja
|
|
|
|
, libgudev
|
|
|
|
, libevdev
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "spice-up-${version}";
|
2018-02-21 06:11:23 +00:00
|
|
|
version = "1.3.2";
|
2018-02-09 11:30:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Philip-Scott";
|
|
|
|
repo = "Spice-up";
|
|
|
|
rev = version;
|
2018-02-21 06:11:23 +00:00
|
|
|
sha256 = "087cdi7na93pgz7vf046h94v5ydvpiccpwhllq85ix8g4pa5rp85";
|
2018-02-09 11:30:09 +00:00
|
|
|
};
|
|
|
|
USER = "nix-build-user";
|
|
|
|
|
|
|
|
XDG_DATA_DIRS = stdenv.lib.concatStringsSep ":" [
|
|
|
|
"${granite}/share"
|
|
|
|
"${gnome3.libgee}/share"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
vala
|
|
|
|
cmake
|
|
|
|
ninja
|
|
|
|
gettext
|
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
granite
|
|
|
|
gnome3.libgee
|
2018-02-25 02:23:58 +00:00
|
|
|
json-glib
|
2018-02-09 11:30:09 +00:00
|
|
|
libgudev
|
|
|
|
libevdev
|
2018-02-25 02:23:58 +00:00
|
|
|
gnome3.gnome-themes-standard
|
2018-02-09 11:30:09 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Create simple and beautiful presentations on the Linux desktop";
|
|
|
|
homepage = https://github.com/Philip-Scott/Spice-up;
|
|
|
|
maintainers = with maintainers; [ samdroid-apps ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
# The COPYING file has GPLv3; some files have GPLv2+ and some have GPLv3+
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|