2024-05-15 15:35:15 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, gettext
|
|
|
|
, gobject-introspection
|
|
|
|
, intltool
|
|
|
|
, wrapGAppsHook3
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libxfce4ui
|
|
|
|
, python3
|
|
|
|
, gitUpdater
|
|
|
|
}:
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
let
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonEnv = python3.withPackages (ps: [
|
|
|
|
ps.pygobject3
|
|
|
|
ps.psutil
|
|
|
|
]);
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-07-03 03:11:41 +00:00
|
|
|
pname = "xfce4-panel-profiles";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.0.14";
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.xfce.org";
|
|
|
|
owner = "apps";
|
|
|
|
repo = "xfce4-panel-profiles";
|
|
|
|
rev = "xfce4-panel-profiles-${finalAttrs.version}";
|
|
|
|
sha256 = "sha256-mGA70t2U4mqEbcrj/DDsPl++EKWyZ8YXzKzzVOrH5h8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook3
|
|
|
|
];
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libxfce4ui
|
|
|
|
pythonEnv
|
|
|
|
];
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
2024-05-15 15:35:15 +00:00
|
|
|
runHook preConfigure
|
|
|
|
# This is just a handcrafted script and does not accept additional arguments.
|
2021-07-03 03:11:41 +00:00
|
|
|
./configure --prefix=$out
|
2024-05-15 15:35:15 +00:00
|
|
|
runHook postConfigure
|
2021-07-03 03:11:41 +00:00
|
|
|
'';
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "xfce4-panel-profiles-"; };
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
meta = with lib; {
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://docs.xfce.org/apps/xfce4-panel-profiles/start";
|
2021-07-03 03:11:41 +00:00
|
|
|
description = "Simple application to manage Xfce panel layouts";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "xfce4-panel-profiles";
|
2021-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2024-05-15 15:35:15 +00:00
|
|
|
platforms = platforms.linux;
|
2021-07-03 03:11:41 +00:00
|
|
|
};
|
2024-05-15 15:35:15 +00:00
|
|
|
})
|