2020-03-11 16:36:27 +00:00
|
|
|
{ stdenv, pkgs
|
|
|
|
, glib, gnome3, gtk3, gtksourceview3, gtkspell3, poppler, texlive
|
2017-10-13 23:22:12 +01:00
|
|
|
, pkgconfig, intltool, autoreconfHook, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-11 16:36:27 +00:00
|
|
|
version = "0.8.1";
|
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;
|
2020-03-11 16:36:27 +00:00
|
|
|
sha256 = "0wxgmzazqiq77cw42i5fn2hc22hhxf5gbpl9g8y3zlnp21lw9y16";
|
2017-10-13 23:22:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-03-11 16:36:27 +00:00
|
|
|
pkgconfig intltool autoreconfHook wrapGAppsHook
|
2017-10-13 23:22:12 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2020-03-11 16:36:27 +00:00
|
|
|
glib gtksourceview3 gtk3 gtkspell3 poppler
|
|
|
|
texlive.bin.core # needed for synctex
|
2017-10-13 23:22:12 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -Dpm644 COPYING $out/share/licenses/$name/COPYING
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-03-11 16:36:27 +00:00
|
|
|
homepage = "https://gummi.app";
|
2017-10-13 23:22:12 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|