Merge pull request #128457 from musfay/xfce4-panel-profiles-init

This commit is contained in:
Sandro 2021-07-01 00:55:07 +02:00 committed by GitHub
commit 7b83ccf2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ mkXfceDerivation, lib, python3, intltool, gettext,
gtk3, libxfce4ui, libxfce4util, pango, harfbuzz, gdk-pixbuf, atk }:
let
pythonEnv = python3.withPackages(ps: [ ps.pygobject3 ]);
makeTypelibPath = lib.makeSearchPathOutput "lib/girepository-1.0" "lib/girepository-1.0";
in mkXfceDerivation {
category = "apps";
pname = "xfce4-panel-profiles";
version = "1.0.13";
sha256 = "sha256-B3Q5d3KBN5m8wY82CIbIugJC8nNS+OcgKchn+TGrDhc=";
nativeBuildInputs = [ intltool gettext ];
propagatedBuildInputs = [ pythonEnv ];
configurePhase = ''
./configure --prefix=$out
'';
postFixup = ''
wrapProgram $out/bin/xfce4-panel-profiles \
--set GI_TYPELIB_PATH ${makeTypelibPath [ gtk3 libxfce4ui libxfce4util pango harfbuzz gdk-pixbuf atk ]}
'';
meta = {
description = "Simple application to manage Xfce panel layouts";
};
}

View File

@ -93,6 +93,8 @@ lib.makeScope pkgs.newScope (self: with self; {
xfburn = callPackage ./applications/xfburn { };
xfce4-panel-profiles = callPackage ./applications/xfce4-panel-profiles { };
#### ART
xfce4-icon-theme = callPackage ./art/xfce4-icon-theme { };