nixpkgs/pkgs/applications/office/spice-up/default.nix

62 lines
1.3 KiB
Nix
Raw Normal View History

2018-02-09 11:30:09 +00:00
{ stdenv
, fetchFromGitHub
, gettext
, libxml2
, pkgconfig
, gtk3
, granite
, gnome3
2018-03-22 14:21:05 +00:00
, gobjectIntrospection
, json-glib
2018-02-09 11:30:09 +00:00
, cmake
, ninja
, libgudev
, libevdev
2018-10-31 22:25:22 +00:00
, libsoup
, vala_0_40
2018-02-09 11:30:09 +00:00
, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "spice-up-${version}";
2018-10-31 22:25:22 +00:00
version = "1.7.0";
2018-02-09 11:30:09 +00:00
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Spice-up";
rev = version;
2018-10-31 22:25:22 +00:00
sha256 = "1qb1hlw7g581dmgg5mh832ixjkcgqm3lqzj6xma2cz8wdncwwjaq";
2018-02-09 11:30:09 +00:00
};
2018-10-31 22:25:22 +00:00
2018-02-09 11:30:09 +00:00
USER = "nix-build-user";
nativeBuildInputs = [
pkgconfig
wrapGAppsHook
2018-10-31 22:25:22 +00:00
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
2018-02-09 11:30:09 +00:00
cmake
ninja
gettext
libxml2
2018-03-22 14:21:05 +00:00
gobjectIntrospection # For setup hook
2018-02-09 11:30:09 +00:00
];
buildInputs = [
2018-10-31 22:25:22 +00:00
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
2018-02-09 11:30:09 +00:00
gnome3.libgee
2018-10-31 22:25:22 +00:00
granite
gtk3
json-glib
2018-02-09 11:30:09 +00:00
libevdev
2018-10-31 22:25:22 +00:00
libgudev
libsoup
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;
};
}