mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
38 lines
922 B
Nix
38 lines
922 B
Nix
{ lib, stdenv, pkgs
|
|
, glib, gnome, gtk3, gtksourceview3, gtkspell3, poppler, texlive
|
|
, pkg-config, intltool, autoreconfHook, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.8.2";
|
|
pname = "gummi";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "alexandervdm";
|
|
repo = "gummi";
|
|
rev = version;
|
|
sha256 = "sha256-7txAyzJrEoGPjchXstMWIF1Vy+aoba6aa6+JNUYnKQs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config intltool autoreconfHook wrapGAppsHook
|
|
];
|
|
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";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ flokli ];
|
|
platforms = with lib.platforms; linux;
|
|
inherit version;
|
|
};
|
|
}
|