29 lines
859 B
Nix
29 lines
859 B
Nix
{ 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";
|
|
};
|
|
}
|