nixpkgs/pkgs/applications/office/spice-up/default.nix
2018-03-23 13:18:35 +01:00

58 lines
1.1 KiB
Nix

{ stdenv
, fetchFromGitHub
, gettext
, libxml2
, pkgconfig
, gtk3
, granite
, gnome3
, gobjectIntrospection
, json-glib
, cmake
, ninja
, libgudev
, libevdev
, vala
, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "spice-up-${version}";
version = "1.3.2";
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Spice-up";
rev = version;
sha256 = "087cdi7na93pgz7vf046h94v5ydvpiccpwhllq85ix8g4pa5rp85";
};
USER = "nix-build-user";
nativeBuildInputs = [
pkgconfig
wrapGAppsHook
vala
cmake
ninja
gettext
libxml2
gobjectIntrospection # For setup hook
];
buildInputs = [
gtk3
granite
gnome3.libgee
json-glib
libgudev
libevdev
];
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;
};
}