2019-12-03 00:57:49 +00:00
|
|
|
{ stdenv, pkgs, makeWrapper, pango
|
2017-10-13 23:22:12 +01:00
|
|
|
, glib, gnome2, gnome3, gtk2-x11, gtkspell2, poppler
|
|
|
|
, pkgconfig, intltool, autoreconfHook, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.6.6";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gummi";
|
2017-10-13 23:22:12 +01:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "alexandervdm";
|
|
|
|
repo = "gummi";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2017-10-13 23:22:12 +01:00
|
|
|
sha256 = "1vw8rhv8qj82l6l22kpysgm9mxilnki2kjmvxsnajbqcagr6s7cn";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig intltool autoreconfHook makeWrapper wrapGAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
2019-12-03 00:57:49 +00:00
|
|
|
glib gnome2.gtksourceview pango gtk2-x11 gtkspell2 poppler
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2017-10-13 23:22:12 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${pkgs.gnome2.gtksourceview}/share")
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -Dpm644 COPYING $out/share/licenses/$name/COPYING
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gummi.midnightcoding.org/;
|
|
|
|
description = "Simple LaTex editor for GTK users";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ flokli ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
inherit version;
|
|
|
|
};
|
|
|
|
}
|