aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-04-19 14:57:25 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-04-19 14:57:25 +0200
commit0ca211d4ec600fa7b3cc701e4997cd1e8d38ebdc (patch)
tree4f9b09ca5d55e44710f020bcf6621daa4fd6b73a /nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
parent1c2ef52230ed2c8b2529c47ce6a857bdde46c7c7 (diff)
parentb61999e4ad60c351b4da63ae3ff43aae3c0bbdfb (diff)
Merge commit 'b61999e4ad60c351b4da63ae3ff43aae3c0bbdfb'
Diffstat (limited to 'nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix')
-rw-r--r--nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix25
1 files changed, 16 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
index 03e5a222967..687bcf59859 100644
--- a/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
+++ b/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
@@ -1,22 +1,29 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2}:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, xfce }:
+
+let
+ category = "panel-plugins";
+in
-with stdenv.lib;
stdenv.mkDerivation rec {
- p_name = "xfce4-eyes-plugin";
- ver_maj = "4.4";
- ver_min = "4";
+ pname = "xfce4-eyes-plugin";
+ version = "4.4.4";
src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
+ url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1jh02hylvsvfpxrx0bq6fzgy6vnxf9qakgpbfvr63lfkd1dyh314";
};
- name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
+
+ passthru.updateScript = xfce.updateScript {
+ inherit pname version;
+ attrPath = "xfce.${pname}";
+ versionLister = xfce.archiveLister category pname;
+ };
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
+ meta = with stdenv.lib; {
+ homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Eyes following you!";
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];