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

38 lines
924 B
Nix
Raw Normal View History

2021-01-15 06:42:41 +01:00
{ lib, stdenv, pkgs
2020-03-11 17:36:27 +01:00
, glib, gnome3, gtk3, gtksourceview3, gtkspell3, poppler, texlive
, pkg-config, intltool, autoreconfHook, wrapGAppsHook
}:
stdenv.mkDerivation rec {
2020-03-11 17:36:27 +01:00
version = "0.8.1";
pname = "gummi";
src = pkgs.fetchFromGitHub {
owner = "alexandervdm";
repo = "gummi";
2019-09-09 01:38:31 +02:00
rev = version;
2020-03-11 17:36:27 +01:00
sha256 = "0wxgmzazqiq77cw42i5fn2hc22hhxf5gbpl9g8y3zlnp21lw9y16";
};
nativeBuildInputs = [
pkg-config intltool autoreconfHook wrapGAppsHook
];
buildInputs = [
2020-03-11 17:36:27 +01: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 17:36:27 +01:00
homepage = "https://gummi.app";
description = "Simple LaTex editor for GTK users";
2021-01-15 06:42:41 +01:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ flokli ];
platforms = with lib.platforms; linux;
inherit version;
};
}