nixpkgs/pkgs/applications/misc/gummi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
923 B
Nix
Raw Normal View History

2021-01-15 05:42:41 +00:00
{ lib, stdenv, pkgs
2021-11-13 22:28:25 +00:00
, glib, gtk3, gtksourceview3, gtkspell3, poppler, texlive
, pkg-config, intltool, autoreconfHook, wrapGAppsHook3
}:
stdenv.mkDerivation rec {
2022-07-28 13:57:48 +00:00
version = "0.8.3";
pname = "gummi";
src = pkgs.fetchFromGitHub {
owner = "alexandervdm";
repo = "gummi";
2019-09-08 23:38:31 +00:00
rev = version;
2022-07-28 13:57:48 +00:00
sha256 = "sha256-71n71KjLmICp4gznd27NlbyA3kayje3hYk/cwkOXEO0=";
};
nativeBuildInputs = [
pkg-config intltool autoreconfHook wrapGAppsHook3
];
buildInputs = [
2020-03-11 16:36:27 +00:00
glib gtksourceview3 gtk3 gtkspell3 poppler
texlive.bin.core # needed for synctex
];
postInstall = ''
install -Dpm644 COPYING $out/share/licenses/$name/COPYING
'';
meta = {
2020-03-11 16:36:27 +00:00
homepage = "https://gummi.app";
description = "Simple LaTex editor for GTK users";
mainProgram = "gummi";
2021-01-15 05:42:41 +00:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ flokli ];
platforms = with lib.platforms; linux;
};
}