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

61 lines
1.1 KiB
Nix
Raw Normal View History

2018-02-09 12:30:09 +01:00
{ stdenv
, fetchFromGitHub
, gettext
, libxml2
, pkgconfig
, gtk3
, gnome3
, gobject-introspection
, 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
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
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;
};
}