btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / li / libgedit-tepl / package.nix
blobc3cebb631f17b18ccfe44ffec8782ce14a91e7a3
1 { stdenv
2 , lib
3 , fetchFromGitLab
4 , meson
5 , mesonEmulatorHook
6 , ninja
7 , gobject-introspection
8 , gtk3
9 , icu
10 , libhandy
11 , libgedit-amtk
12 , libgedit-gfls
13 , libgedit-gtksourceview
14 , pkg-config
15 , gtk-doc
16 , docbook-xsl-nons
19 stdenv.mkDerivation rec {
20   pname = "libgedit-tepl";
21   version = "6.11.0";
23   outputs = [ "out" "dev" "devdoc" ];
25   src = fetchFromGitLab {
26     domain = "gitlab.gnome.org";
27     group = "World";
28     owner = "gedit";
29     repo = "libgedit-tepl";
30     rev = version;
31     hash = "sha256-8y3EQZKYRcx2ocG7aR7tGBCE/68yPdrBcPNm6O2lM4c=";
32   };
34   strictDeps = true;
35   nativeBuildInputs = [
36     meson
37     ninja
38     gobject-introspection
39     pkg-config
40     gtk-doc
41     docbook-xsl-nons
42   ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
43     mesonEmulatorHook
44   ];
46   buildInputs = [
47     icu
48     libhandy
49   ];
51   propagatedBuildInputs = [
52     gtk3
53     libgedit-amtk
54     libgedit-gfls
55     libgedit-gtksourceview
56   ];
58   meta = with lib; {
59     homepage = "https://gitlab.gnome.org/World/gedit/libgedit-tepl";
60     description = "Text editor product line";
61     maintainers = with maintainers; [ manveru bobby285271 ];
62     license = licenses.lgpl3Plus;
63     platforms = platforms.linux;
64   };