From 0a335d00c3e36fedf4ed77b0a029d4e4ffe8dc8d Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Tue, 5 Nov 2019 18:32:31 -0500 Subject: xfce.xfce4-datetime-plugin: 0.6.2 -> 0.8.0 --- pkgs/desktops/xfce/default.nix | 2 +- .../xfce/panel-plugins/xfce4-datetime-plugin.nix | 26 ----------------- .../xfce4-datetime-plugin/default.nix | 34 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 27 deletions(-) delete mode 100644 pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix create mode 100644 pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix (limited to 'pkgs/desktops/xfce') diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix index b40dc6669e5..07773523b3e 100644 --- a/pkgs/desktops/xfce/default.nix +++ b/pkgs/desktops/xfce/default.nix @@ -107,7 +107,7 @@ lib.makeScope pkgs.newScope (self: with self; { xfce4-cpugraph-plugin = callPackage ./panel-plugins/xfce4-cpugraph-plugin.nix { }; - xfce4-datetime-plugin = callPackage ./panel-plugins/xfce4-datetime-plugin.nix { }; + xfce4-datetime-plugin = callPackage ./panel-plugins/xfce4-datetime-plugin { }; xfce4-dict-plugin = callPackage ./panel-plugins/xfce4-dict-plugin.nix { }; diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix deleted file mode 100644 index 31f502162cf..00000000000 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfcegui4, xfce4-panel -, gtk2 }: - -with stdenv.lib; -stdenv.mkDerivation rec { - p_name = "xfce4-datetime-plugin"; - ver_maj = "0.6"; - ver_min = "2"; - - name = "${p_name}-${ver_maj}.${ver_min}"; - - src = fetchurl { - url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2"; - sha256 = "0b4yril07qgkmywjym1qp12r4g35bnh96879zbjps7cd3rkxld4p"; - }; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ intltool libxfce4util libxfcegui4 xfce4-panel gtk2 ]; - - meta = { - homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}"; - description = "Shows the date and time in the panel, and a calendar appears when you left-click on it"; - platforms = platforms.linux; - maintainers = [ maintainers.AndersonTorres ]; - }; -} diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix new file mode 100644 index 00000000000..3cfb010b12d --- /dev/null +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix @@ -0,0 +1,34 @@ +{ mkXfceDerivation +, stdenv +, intltool +, libxfce4ui +, xfce4-panel +, gtk3 +, gettext +}: + +mkXfceDerivation rec { + category = "panel-plugins"; + pname = "xfce4-datetime-plugin"; + version = "0.8.0"; + + rev = "datetime-${version}"; + + sha256 = "12drh7y70d70r93lpv43fkj5cbyl0vciz4a41nxrknrfbhxrvyah"; + + nativeBuildInputs = [ + gettext + intltool + ]; + + buildInputs = [ + gtk3 + libxfce4ui + xfce4-panel + ]; + + meta = with stdenv.lib; { + description = "Shows the date and time in the panel, and a calendar appears when you left-click on it"; + maintainers = [ maintainers.AndersonTorres ]; + }; +} -- cgit 1.4.1