forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / desktops / xfce / applications / mousepad / default.nix
blob3bb9389c1e25c2b02e9319c4f59d6b66f833e6b0
1 { lib
2 , mkXfceDerivation
3 , gobject-introspection
4 , glib
5 , gtk3
6 , gtksourceview4
7 , gspell
8 , libxfce4ui
9 , xfconf
10 , enablePolkit ? true
11 , polkit
14 mkXfceDerivation {
15   category = "apps";
16   pname = "mousepad";
17   version = "0.6.3";
18   odd-unstable = false;
20   sha256 = "sha256-L1txMS86lOEE9tOPTIOr1Gh4lwH7krnAeq4f3yS5kN0=";
22   nativeBuildInputs = [ gobject-introspection ];
24   buildInputs = [
25     glib
26     gtk3
27     gtksourceview4
28     gspell
29     libxfce4ui # for shortcut plugin
30     xfconf # required by libxfce4kbd-private-3
31   ] ++ lib.optionals enablePolkit [
32     polkit
33   ];
35   # Use the GSettings keyfile backend rather than DConf
36   configureFlags = [ "--enable-keyfile-settings" ];
38   meta = with lib; {
39     description = "Simple text editor for Xfce";
40     mainProgram = "mousepad";
41     maintainers = with maintainers; [ ] ++ teams.xfce.members;
42   };