5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
37 lines
923 B
Nix
37 lines
923 B
Nix
{ lib, stdenv, pkgs
|
|
, glib, gtk3, gtksourceview3, gtkspell3, poppler, texlive
|
|
, pkg-config, intltool, autoreconfHook, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.8.3";
|
|
pname = "gummi";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "alexandervdm";
|
|
repo = "gummi";
|
|
rev = version;
|
|
sha256 = "sha256-71n71KjLmICp4gznd27NlbyA3kayje3hYk/cwkOXEO0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config intltool autoreconfHook wrapGAppsHook3
|
|
];
|
|
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";
|
|
mainProgram = "gummi";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ flokli ];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|