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

58 lines
1.1 KiB
Nix

{ stdenv
, fetchFromGitHub
, cmake
, gdk_pixbuf
, gtk3
, gettext
, ninja
, pantheon
, pkgconfig
, json-glib
, libgudev
, libevdev
, libgee
, libsoup
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "spice-up";
version = "1.8.1";
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Spice-up";
rev = version;
sha256 = "0vgs2z6yr0d5vwb04wd2s22144pdrjhqik9xs69q4dxjxa84iw0h";
};
USER = "pbuilder";
nativeBuildInputs = [
cmake
gettext
ninja
pkgconfig
pantheon.vala
wrapGAppsHook
];
buildInputs = [
pantheon.elementary-icon-theme
pantheon.granite
gdk_pixbuf
gtk3
json-glib
libevdev
libgee
libgudev
libsoup
];
meta = with stdenv.lib; {
description = "Create simple and beautiful presentations";
homepage = https://github.com/Philip-Scott/Spice-up;
maintainers = with maintainers; [ samdroid-apps kjuvi ] ++ pantheon.maintainers;
platforms = platforms.linux;
# The COPYING file has GPLv3; some files have GPLv2+ and some have GPLv3+
license = licenses.gpl3Plus;
};
}