gummi: 0.6.6 -> 0.8.1

This commit is contained in:
ajs124 2020-03-11 17:36:27 +01:00
parent 982b4da76d
commit a2a0c9349d

View File

@ -1,37 +1,33 @@
{ stdenv, pkgs, makeWrapper, pango { stdenv, pkgs
, glib, gnome2, gnome3, gtk2-x11, gtkspell2, poppler , glib, gnome3, gtk3, gtksourceview3, gtkspell3, poppler, texlive
, pkgconfig, intltool, autoreconfHook, wrapGAppsHook , pkgconfig, intltool, autoreconfHook, wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.6.6"; version = "0.8.1";
pname = "gummi"; pname = "gummi";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "alexandervdm"; owner = "alexandervdm";
repo = "gummi"; repo = "gummi";
rev = version; rev = version;
sha256 = "1vw8rhv8qj82l6l22kpysgm9mxilnki2kjmvxsnajbqcagr6s7cn"; sha256 = "0wxgmzazqiq77cw42i5fn2hc22hhxf5gbpl9g8y3zlnp21lw9y16";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig intltool autoreconfHook makeWrapper wrapGAppsHook pkgconfig intltool autoreconfHook wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
glib gnome2.gtksourceview pango gtk2-x11 gtkspell2 poppler glib gtksourceview3 gtk3 gtkspell3 poppler
gnome3.adwaita-icon-theme texlive.bin.core # needed for synctex
]; ];
preConfigure = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${pkgs.gnome2.gtksourceview}/share")
'';
postInstall = '' postInstall = ''
install -Dpm644 COPYING $out/share/licenses/$name/COPYING install -Dpm644 COPYING $out/share/licenses/$name/COPYING
''; '';
meta = { meta = {
homepage = http://gummi.midnightcoding.org/; homepage = "https://gummi.app";
description = "Simple LaTex editor for GTK users"; description = "Simple LaTex editor for GTK users";
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ flokli ]; maintainers = with stdenv.lib.maintainers; [ flokli ];