2018-02-09 12:30:09 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
|
|
|
, pkgconfig
|
|
|
|
, gtk3
|
|
|
|
, gnome3
|
2018-12-02 12:41:15 +01:00
|
|
|
, gobject-introspection
|
2018-02-25 03:23:58 +01:00
|
|
|
, json-glib
|
2018-02-09 12:30:09 +01:00
|
|
|
, cmake
|
|
|
|
, ninja
|
|
|
|
, libgudev
|
|
|
|
, libevdev
|
2018-10-31 23:25:22 +01:00
|
|
|
, libsoup
|
2018-08-20 22:31:18 +02:00
|
|
|
, pantheon
|
2018-02-09 12:30:09 +01:00
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "spice-up-${version}";
|
2018-10-31 23:25:22 +01:00
|
|
|
version = "1.7.0";
|
2018-02-09 12:30:09 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Philip-Scott";
|
|
|
|
repo = "Spice-up";
|
|
|
|
rev = version;
|
2018-10-31 23:25:22 +01:00
|
|
|
sha256 = "1qb1hlw7g581dmgg5mh832ixjkcgqm3lqzj6xma2cz8wdncwwjaq";
|
2018-02-09 12:30:09 +01:00
|
|
|
};
|
2018-10-31 23:25:22 +01:00
|
|
|
|
2018-02-09 12:30:09 +01:00
|
|
|
USER = "nix-build-user";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
gettext
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection # For setup hook
|
2018-08-20 22:31:18 +02:00
|
|
|
libxml2
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
pantheon.vala
|
|
|
|
wrapGAppsHook
|
2018-02-09 12:30:09 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2018-08-20 22:31:18 +02:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-02-09 12:30:09 +01:00
|
|
|
gnome3.libgee
|
2018-10-31 23:25:22 +01:00
|
|
|
gtk3
|
2018-02-25 03:23:58 +01:00
|
|
|
json-glib
|
2018-02-09 12:30:09 +01:00
|
|
|
libevdev
|
2018-10-31 23:25:22 +01:00
|
|
|
libgudev
|
|
|
|
libsoup
|
2018-02-09 12:30:09 +01: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;
|
|
|
|
};
|
|
|
|
}
|