depot/third_party/nixpkgs/pkgs/by-name/li/libgedit-tepl/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

63 lines
1.2 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, mesonEmulatorHook
, ninja
, gobject-introspection
, gtk3
, icu
, libhandy
, libgedit-amtk
, libgedit-gfls
, libgedit-gtksourceview
, pkg-config
, gtk-doc
, docbook-xsl-nons
}:
stdenv.mkDerivation rec {
pname = "libgedit-tepl";
version = "6.10.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitHub {
owner = "gedit-technology";
repo = "libgedit-tepl";
rev = version;
hash = "sha256-lGmOaDNu+iqwpeaP0AL28exoTqx1j03Z8gdhTBgk1i8=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
gobject-introspection
pkg-config
gtk-doc
docbook-xsl-nons
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [
icu
libhandy
];
propagatedBuildInputs = [
gtk3
libgedit-amtk
libgedit-gfls
libgedit-gtksourceview
];
meta = with lib; {
homepage = "https://github.com/gedit-technology/libgedit-tepl";
description = "Text editor product line";
maintainers = with maintainers; [ manveru bobby285271 ];
license = licenses.lgpl3Plus;
platforms = platforms.linux;
};
}