2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, pkgs
|
2022-10-21 18:38:19 +00:00
|
|
|
, glib, gtk3, gtksourceview3, gtkspell3, poppler, texlive
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config, intltool, autoreconfHook, wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.8.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gummi";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "alexandervdm";
|
|
|
|
repo = "gummi";
|
|
|
|
rev = version;
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-71n71KjLmICp4gznd27NlbyA3kayje3hYk/cwkOXEO0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config intltool autoreconfHook wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib gtksourceview3 gtk3 gtkspell3 poppler
|
|
|
|
texlive.bin.core # needed for synctex
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -Dpm644 COPYING $out/share/licenses/$name/COPYING
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://gummi.app";
|
|
|
|
description = "Simple LaTex editor for GTK users";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ flokli ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|