2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, pkgs
|
2021-05-07 21:18:14 +00:00
|
|
|
, glib, gnome, gtk3, gtksourceview3, gtkspell3, poppler, texlive
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config, intltool, autoreconfHook, wrapGAppsHook
|
2017-10-13 22:22:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-26 07:31:48 +00:00
|
|
|
version = "0.8.2";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gummi";
|
2017-10-13 22:22:12 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "alexandervdm";
|
|
|
|
repo = "gummi";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2021-05-26 07:31:48 +00:00
|
|
|
sha256 = "sha256-7txAyzJrEoGPjchXstMWIF1Vy+aoba6aa6+JNUYnKQs=";
|
2017-10-13 22:22:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config intltool autoreconfHook wrapGAppsHook
|
2017-10-13 22:22:12 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2020-03-11 16:36:27 +00:00
|
|
|
glib gtksourceview3 gtk3 gtkspell3 poppler
|
|
|
|
texlive.bin.core # needed for synctex
|
2017-10-13 22:22:12 +00: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 22:22:12 +00:00
|
|
|
description = "Simple LaTex editor for GTK users";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ flokli ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2017-10-13 22:22:12 +00:00
|
|
|
};
|
|
|
|
}
|