depot/third_party/nixpkgs/pkgs/by-name/li/libgedit-tepl/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

65 lines
1.2 KiB
Nix

{ stdenv
, lib
, fetchFromGitLab
, 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.11.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
group = "World";
owner = "gedit";
repo = "libgedit-tepl";
rev = version;
hash = "sha256-8y3EQZKYRcx2ocG7aR7tGBCE/68yPdrBcPNm6O2lM4c=";
};
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://gitlab.gnome.org/World/gedit/libgedit-tepl";
description = "Text editor product line";
maintainers = with maintainers; [ manveru bobby285271 ];
license = licenses.lgpl3Plus;
platforms = platforms.linux;
};
}