summary refs log tree commit diff
path: root/pkgs/desktops/xfce/applications/xfce4-panel-profiles
diff options
context:
space:
mode:
authorMustafa Çalışkan <musfay@protonmail.com>2021-06-27 22:24:41 +0300
committerMustafa Çalışkan <musfay@protonmail.com>2021-06-27 22:29:52 +0300
commit034fdf336f3c4c5bea7cd1c3201da47835502f6f (patch)
treeda9df871e05702daabae89371763d1c135814295 /pkgs/desktops/xfce/applications/xfce4-panel-profiles
parente1f8852faac7638e88d5e8a5b9ee2a7568685e3f (diff)
downloadnixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.tar
nixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.tar.gz
nixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.tar.bz2
nixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.tar.lz
nixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.tar.xz
nixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.tar.zst
nixpkgs-034fdf336f3c4c5bea7cd1c3201da47835502f6f.zip
xfce.xfce4-panel-profiles: init at 1.0.13
Diffstat (limited to 'pkgs/desktops/xfce/applications/xfce4-panel-profiles')
-rw-r--r--pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix b/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix
new file mode 100644
index 00000000000..3c7f99f7d3a
--- /dev/null
+++ b/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix
@@ -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";
+  };
+}