3
0
Fork 0
forked from mirrors/nixpkgs

xfce.xfce4-datetime-plugin: 0.6.2 -> 0.8.0

This commit is contained in:
worldofpeace 2019-11-05 18:32:31 -05:00
parent 4615fb8311
commit 0a335d00c3
3 changed files with 35 additions and 27 deletions

View file

@ -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 { };

View file

@ -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 ];
};
}

View file

@ -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 ];
};
}