xfce: add update scripts to xfce packages

This commit is contained in:
José Romildo Malaquias 2020-04-13 18:12:16 -03:00
parent 8162d76b18
commit 06ba312152
34 changed files with 324 additions and 170 deletions

View File

@ -4,6 +4,7 @@ mkXfceDerivation {
category = "apps"; category = "apps";
pname = "gigolo"; pname = "gigolo";
version = "0.5.0"; version = "0.5.0";
odd-unstable = false;
sha256 = "1lqsxb0d5i8p9vbzx8s4p3rga7va5h1q146xgmsa41j5v40wrlw6"; sha256 = "1lqsxb0d5i8p9vbzx8s4p3rga7va5h1q146xgmsa41j5v40wrlw6";

View File

@ -4,6 +4,7 @@ mkXfceDerivation {
category = "apps"; category = "apps";
pname = "xfce4-screenshooter"; pname = "xfce4-screenshooter";
version = "1.9.5"; version = "1.9.5";
odd-unstable = false;
sha256 = "1h14sywvk9l06p3z1cpb79911j8w2wqbk03ldknjkia2rfymjk06"; sha256 = "1h14sywvk9l06p3z1cpb79911j8w2wqbk03ldknjkia2rfymjk06";

View File

@ -1,9 +1,11 @@
{ stdenv, fetchurl, pkgconfig, makeWrapper { stdenv, fetchurl, pkgconfig, makeWrapper
, gstreamer, gtk2, gst-plugins-base, libnotify , gstreamer, gtk2, gst-plugins-base, libnotify
, keybinder, xfconf , keybinder, xfconf, xfce
}: }:
let let
category = "apps";
# The usual Gstreamer plugins package has a zillion dependencies # The usual Gstreamer plugins package has a zillion dependencies
# that we don't need for a simple mixer, so build a minimal package. # that we don't need for a simple mixer, so build a minimal package.
gst_plugins_minimal = gst-plugins-base.override { gst_plugins_minimal = gst-plugins-base.override {
@ -13,15 +15,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-volumed"; pname = "xfce4-volumed";
ver_maj = "0.1"; version = "0.1.13";
ver_min = "13";
src = fetchurl { src = fetchurl {
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1aa0a1sbf9yzi7bc78kw044m0xzg1li3y4w9kf20wqv5kfjs7v2c"; sha256 = "1aa0a1sbf9yzi7bc78kw044m0xzg1li3y4w9kf20wqv5kfjs7v2c";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
buildInputs = buildInputs =
[ gstreamer gst_plugins_minimal gtk2 [ gstreamer gst_plugins_minimal gtk2
@ -36,6 +36,12 @@ stdenv.mkDerivation rec {
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
''; '';
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://www.xfce.org/projects/xfce4-volumed"; # referenced but inactive homepage = "https://www.xfce.org/projects/xfce4-volumed"; # referenced but inactive
description = "A volume keys control daemon for the Xfce desktop environment"; description = "A volume keys control daemon for the Xfce desktop environment";

View File

@ -18,7 +18,8 @@ mkXfceDerivation {
category = "apps"; category = "apps";
pname = "xfdashboard"; pname = "xfdashboard";
version = "0.7.5"; version = "0.7.5";
rev = "0.7.5"; rev-prefix = "";
odd-unstable = false;
sha256 = "0d0kg90h3li41bs75z3xldljsglkz220pba39c54qznnzb8v8a2i"; sha256 = "0d0kg90h3li41bs75z3xldljsglkz220pba39c54qznnzb8v8a2i";

View File

@ -1,23 +1,31 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk2 }: { stdenv, fetchurl, pkgconfig, intltool, gtk2, xfce }:
let
category = "art";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-icon-theme"; pname = "xfce4-icon-theme";
ver_maj = "4.4"; version = "4.4.3";
ver_min = "3";
src = fetchurl { src = fetchurl {
url = "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2"; url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1yk6rx3zr9grm4jwpjvqdkl13pisy7qn1wm5cqzmd2kbsn96cy6l"; sha256 = "1yk6rx3zr9grm4jwpjvqdkl13pisy7qn1wm5cqzmd2kbsn96cy6l";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool gtk2 ]; buildInputs = [ intltool gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://www.xfce.org/"; homepage = "https://www.xfce.org/";
description = "Icons for Xfce"; description = "Icons for Xfce";
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ maintainers.eelco ];
}; };
} }

View File

@ -1,15 +1,23 @@
{ stdenv, fetchurl }: { stdenv, fetchurl, xfce }:
let
category = "art";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfwm4-themes"; pname = "xfwm4-themes";
ver_maj = "4.10"; version = "4.10.0";
ver_min = "0";
src = fetchurl { src = fetchurl {
url = "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2"; url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "0xfmdykav4rf6gdxbd6fhmrfrvbdc1yjihz7r7lba0wp1vqda51j"; sha256 = "0xfmdykav4rf6gdxbd6fhmrfrvbdc1yjihz7r7lba0wp1vqda51j";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://www.xfce.org/"; homepage = "https://www.xfce.org/";

View File

@ -9,6 +9,8 @@ mkXfceDerivation {
sha256 = "1qrlpn0q5g9psd41l6y80r3bvbg8jaic92m6r400zzwcvivf95z0"; sha256 = "1qrlpn0q5g9psd41l6y80r3bvbg8jaic92m6r400zzwcvivf95z0";
odd-unstable = false;
meta = { meta = {
description = "Thunar extension for automatic management of removable drives and media"; description = "Thunar extension for automatic management of removable drives and media";
}; };

View File

@ -1,6 +1,16 @@
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme, wrapGAppsHook }: { stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme, xfce, wrapGAppsHook }:
{ category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args: { category
, pname
, version
, attrPath ? "xfce.${pname}"
, rev-prefix ? "${pname}-"
, rev ? "${rev-prefix}${version}"
, sha256
, odd-unstable ? true
, patchlevel-unstable ? true
, ...
} @ args:
let let
inherit (builtins) filter getAttr head isList; inherit (builtins) filter getAttr head isList;
@ -12,7 +22,7 @@ let
concatAttrLists = attrsets: concatAttrLists = attrsets:
zipAttrsWithNames (filterAttrNames isList (head attrsets)) (_: concatLists) attrsets; zipAttrsWithNames (filterAttrNames isList (head attrsets)) (_: concatLists) attrsets;
template = { template = rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
nativeBuildInputs = [ pkgconfig xfce4-dev-tools wrapGAppsHook ]; nativeBuildInputs = [ pkgconfig xfce4-dev-tools wrapGAppsHook ];
@ -29,6 +39,11 @@ let
pos = builtins.unsafeGetAttrPos "pname" args; pos = builtins.unsafeGetAttrPos "pname" args;
passthru.updateScript = xfce.updateScript {
inherit pname version attrPath rev-prefix odd-unstable patchlevel-unstable;
versionLister = xfce.gitLister src.url;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://git.xfce.org/${category}/${pname}/about"; homepage = "https://git.xfce.org/${category}/${pname}/about";
license = licenses.gpl2; # some libraries are under LGPLv2+ license = licenses.gpl2; # some libraries are under LGPLv2+

View File

@ -1,10 +1,11 @@
{ mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: { mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-battery-plugin"; pname = "xfce4-battery-plugin";
version = "1.1.2"; version = "1.1.2";
rev = version; rev-prefix = "";
odd-unstable = false;
sha256 = "0329miiclc8da6j0sz495p99hyrf9fjhvpmdl0556fphybz5agc0"; sha256 = "0329miiclc8da6j0sz495p99hyrf9fjhvpmdl0556fphybz5agc0";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];

View File

@ -1,10 +1,9 @@
{ mkXfceDerivation, gtk3, libXtst, libxfce4ui, libxfce4util, xfce4-panel, xfconf, exo }: { mkXfceDerivation, gtk3, libXtst, libxfce4ui, libxfce4util, xfce4-panel, xfconf, exo }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-clipman-plugin"; pname = "xfce4-clipman-plugin";
version = "1.4.3"; version = "1.4.3";
rev = version;
sha256 = "1xk79xh1zk0x4r1z9m1dakp79pip0zh3naviybvl1dnpwwfc03gq"; sha256 = "1xk79xh1zk0x4r1z9m1dakp79pip0zh3naviybvl1dnpwwfc03gq";
buildInputs = [ exo gtk3 libXtst libxfce4ui libxfce4util xfce4-panel xfconf ]; buildInputs = [ exo gtk3 libXtst libxfce4ui libxfce4util xfce4-panel xfconf ];

View File

@ -1,22 +1,29 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, hicolor-icon-theme }: { stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, hicolor-icon-theme, xfce }:
let
category = "panel-plugins";
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-cpugraph-plugin"; pname = "xfce4-cpugraph-plugin";
ver_maj = "1.0"; version = "1.0.5";
ver_min = "5";
src = fetchurl { 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 = "1izl53q95m5xm2fiq7385vb1i9nwgjizxkmgpgh33zdckb40xnl5"; sha256 = "1izl53q95m5xm2fiq7385vb1i9nwgjizxkmgpgh33zdckb40xnl5";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool glib exo libXtst xorgproto libxfce4util libxfce4ui xfce4-panel xfconf gtk2 hicolor-icon-theme ]; buildInputs = [ intltool glib exo libXtst xorgproto libxfce4util libxfce4ui xfce4-panel xfconf gtk2 hicolor-icon-theme ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "CPU graph show for Xfce panel"; description = "CPU graph show for Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -7,13 +7,12 @@
, gettext , gettext
}: }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-datetime-plugin"; pname = "xfce4-datetime-plugin";
version = "0.8.0"; version = "0.8.0";
rev = "datetime-${version}"; rev-prefix = "datetime-";
sha256 = "12drh7y70d70r93lpv43fkj5cbyl0vciz4a41nxrknrfbhxrvyah"; sha256 = "12drh7y70d70r93lpv43fkj5cbyl0vciz4a41nxrknrfbhxrvyah";
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -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 { stdenv.mkDerivation rec {
p_name = "xfce4-dict-plugin"; pname = "xfce4-dict-plugin";
ver_maj = "0.3"; version = "0.3.0";
ver_min = "0";
src = fetchurl { src = fetchurl {
url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.gz"; url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1x0imfnsdfq7fbhka8bc0yjjspkcljc1jafhrwzb08qi9bk2wbar"; sha256 = "1x0imfnsdfq7fbhka8bc0yjjspkcljc1jafhrwzb08qi9bk2wbar";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta =with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Dictionary plugin for Xfce panel"; description = "Dictionary plugin for Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -2,9 +2,10 @@
, dockbarx, gtk2, xfce, pythonPackages, wafHook }: , dockbarx, gtk2, xfce, pythonPackages, wafHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xfce4-dockbarx-plugin";
version = "${ver}-${rev}";
ver = "0.5"; ver = "0.5";
rev = "a2dcb66"; rev = "a2dcb66";
name = "xfce4-dockbarx-plugin-${ver}-${rev}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TiZ-EX1"; owner = "TiZ-EX1";

View File

@ -1,22 +1,30 @@
{ 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; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-embed-plugin"; pname = "xfce4-embed-plugin";
ver_maj = "1.6"; version = "1.6.0";
ver_min = "0";
src = fetchurl { 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 = "0a72kqsjjh45swimqlpyrahdnplp0383v0i4phr4n6g8c1ixyry7"; sha256 = "0a72kqsjjh45swimqlpyrahdnplp0383v0i4phr4n6g8c1ixyry7";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Embed arbitrary app windows on Xfce panel"; description = "Embed arbitrary app windows on Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -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 { stdenv.mkDerivation rec {
p_name = "xfce4-eyes-plugin"; pname = "xfce4-eyes-plugin";
ver_maj = "4.4"; version = "4.4.4";
ver_min = "4";
src = fetchurl { 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"; sha256 = "1jh02hylvsvfpxrx0bq6fzgy6vnxf9qakgpbfvr63lfkd1dyh314";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Eyes following you!"; description = "Eyes following you!";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -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 { stdenv.mkDerivation rec {
p_name = "xfce4-fsguard-plugin"; pname = "xfce4-fsguard-plugin";
ver_maj = "1.0"; version = "1.0.2";
ver_min = "2";
src = fetchurl { 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 = "1bj021h4q68bc03f32pkyqy4gfd1sz6s21nxdg7j6gdfhs9xbj52"; sha256 = "1bj021h4q68bc03f32pkyqy4gfd1sz6s21nxdg7j6gdfhs9xbj52";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Filesystem monitor"; description = "Filesystem monitor";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -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 { stdenv.mkDerivation rec {
p_name = "xfce4-genmon-plugin"; pname = "xfce4-genmon-plugin";
ver_maj = "3.4"; version = "3.4.0";
ver_min = "0";
src = fetchurl { 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 = "11q3g6lmgz3d5lyh6614mxkd9cblfdyf9jgki7f26mn895xk79dh"; sha256 = "11q3g6lmgz3d5lyh6614mxkd9cblfdyf9jgki7f26mn895xk79dh";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Cyclically spawns a command and captures its output"; description = "Cyclically spawns a command and captures its output";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, autoreconfHook, gnome2, gtkmm2, { stdenv, fetchurl, pkgconfig, intltool, autoreconfHook, gnome2, gtkmm2,
libgtop, libxfce4ui, libxfce4util, xfce4-panel, lm_sensors libgtop, libxfce4ui, libxfce4util, xfce4-panel, lm_sensors, xfce
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -30,11 +30,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Hardware monitor plugin for the XFCE4 panel"; description = "Hardware monitor plugin for the XFCE4 panel";
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ]; maintainers = [ maintainers.romildo ];
}; };
} }

View File

@ -1,24 +1,31 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui,
xfconf, gtk2, exo, gnutls, libgcrypt }: xfconf, gtk2, exo, gnutls, libgcrypt, xfce }:
let
category = "panel-plugins";
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-mailwatch-plugin"; pname = "xfce4-mailwatch-plugin";
ver_maj = "1.2"; version = "1.2.0";
ver_min = "0";
src = fetchurl { 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 = "1bfw3smwivr9mzdyq768biqrl4aq94zqi3xjzq6kqnd8561cqjk2"; sha256 = "1bfw3smwivr9mzdyq768biqrl4aq94zqi3xjzq6kqnd8561cqjk2";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel
xfconf gtk2 exo gnutls libgcrypt ]; xfconf gtk2 exo gnutls libgcrypt ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Mailwatch plugin for Xfce panel"; description = "Mailwatch plugin for Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ ]; maintainers = [ ];

View File

@ -1,24 +1,31 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui,
xfconf, gtk2, exo }: xfconf, gtk2, exo, xfce }:
let
category = "panel-plugins";
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-mpc-plugin"; pname = "xfce4-mpc-plugin";
ver_maj = "0.4"; version = "0.4.5";
ver_min = "5";
name = "${p_name}-${ver_maj}.${ver_min}";
src = fetchurl { 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 = "1kvgq1pq7cykqdc3227dq0izad093ppfw3nfsrcp9i8mi6i5f7z7"; sha256 = "1kvgq1pq7cykqdc3227dq0izad093ppfw3nfsrcp9i8mi6i5f7z7";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel
xfconf gtk2 exo ]; xfconf gtk2 exo ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "MPD plugin for Xfce panel"; description = "MPD plugin for Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ ]; maintainers = [ ];

View File

@ -1,10 +1,10 @@
{ mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: { mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-netload-plugin"; pname = "xfce4-netload-plugin";
version = "1.3.1"; version = "1.3.1";
rev = "version-${version}"; rev-prefix = "version-";
sha256 = "0nm8advafw4jpc9p1qszyfqa56194sz51z216rdh4c6ilcrrpy1h"; sha256 = "0nm8advafw4jpc9p1qszyfqa56194sz51z216rdh4c6ilcrrpy1h";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];

View File

@ -1,22 +1,29 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, libunique }: { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, libunique, xfce }:
let
category = "panel-plugins";
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-notes-plugin"; pname = "xfce4-notes-plugin";
ver_maj = "1.7"; version = "1.7.7";
ver_min = "7";
src = fetchurl { 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 = "05sjbwgch1j93m3r23ksbjnpfk11sf7xjmbb9pm5vl3snc2s3fm7"; sha256 = "05sjbwgch1j93m3r23ksbjnpfk11sf7xjmbb9pm5vl3snc2s3fm7";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 libunique ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 libunique ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Sticky notes plugin for Xfce panel"; description = "Sticky notes plugin for Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -1,15 +1,17 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk2, libxfce4ui, { stdenv, fetchurl, pkgconfig, intltool, gtk2, libxfce4ui,
libxfce4util, xfce4-panel, libnotify, lm_sensors, hddtemp, netcat-gnu libxfce4util, xfce4-panel, libnotify, lm_sensors, hddtemp, netcat-gnu, xfce
}: }:
let
category = "panel-plugins";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${ver_maj}.${ver_min}";
pname = "xfce4-sensors-plugin"; pname = "xfce4-sensors-plugin";
ver_maj = "1.2"; version = "1.2.6";
ver_min = "6";
src = fetchurl { src = fetchurl {
url = "mirror://xfce/src/panel-plugins/${pname}/${ver_maj}/${name}.tar.bz2"; url = "mirror://xfce/src/${category}/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "1h0vpqxcziml3gwrbvd8xvy1mwh9mf2a68dvxsy03rs5pm1ghpi3"; sha256 = "1h0vpqxcziml3gwrbvd8xvy1mwh9mf2a68dvxsy03rs5pm1ghpi3";
}; };
@ -35,12 +37,18 @@ stdenv.mkDerivation rec {
"--with-pathhddtemp=${hddtemp}/bin/hddtemp" "--with-pathhddtemp=${hddtemp}/bin/hddtemp"
"--with-pathnetcat=${netcat-gnu}/bin/netcat" "--with-pathnetcat=${netcat-gnu}/bin/netcat"
]; ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "A panel plug-in for different sensors using acpi, lm_sensors and hddtemp"; description = "A panel plug-in for different sensors using acpi, lm_sensors and hddtemp";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ]; maintainers = [ maintainers.romildo ];
}; };
} }

View File

@ -1,22 +1,29 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk2}: { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk2, xfce }:
let
category = "panel-plugins";
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-systemload-plugin"; pname = "xfce4-systemload-plugin";
ver_maj = "1.1"; version = "1.1.2";
ver_min = "2";
src = fetchurl { 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 = "0z4as6sxdz93d4jpgv0665dg4sykfvc5068mc689phlfl2rvcsdl"; sha256 = "0z4as6sxdz93d4jpgv0665dg4sykfvc5068mc689phlfl2rvcsdl";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel gtk2 ]; buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel gtk2 ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "System load plugin for Xfce panel"; description = "System load plugin for Xfce panel";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];

View File

@ -1,17 +1,18 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel
, libxfce4ui, xfconf, gtk2, hicolor-icon-theme }: , libxfce4ui, xfconf, gtk2, hicolor-icon-theme, xfce }:
let
category = "panel-plugins";
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-timer-plugin"; pname = "xfce4-timer-plugin";
ver_maj = "1.6"; version = "1.6.0";
ver_min = "0";
src = fetchurl { 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 = "0z46gyw3ihcd1jf0m5z1dsc790xv1cpi8mk1dagj3i4v14gx5mrr"; sha256 = "0z46gyw3ihcd1jf0m5z1dsc790xv1cpi8mk1dagj3i4v14gx5mrr";
}; };
name = "${p_name}-${ver_maj}.${ver_min}";
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf
gtk2 hicolor-icon-theme ]; gtk2 hicolor-icon-theme ];
@ -19,9 +20,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "A simple XFCE panel plugin that lets the user run an alarm at a specified time or at the end of a specified countdown period"; description = "A simple XFCE panel plugin that lets the user run an alarm at a specified time or at the end of a specified countdown period";
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl2; license = licenses.gpl2;

View File

@ -41,6 +41,12 @@ stdenv.mkDerivation rec {
mv cmake/FallbackVersion.cmake.in cmake/FallbackVersion.cmake mv cmake/FallbackVersion.cmake.in cmake/FallbackVersion.cmake
''; '';
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.gitLister src.meta.homepage;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Global Menu applet for XFCE4"; description = "Global Menu applet for XFCE4";
license = licenses.lgpl3; license = licenses.lgpl3;

View File

@ -1,10 +1,10 @@
{ lib, mkXfceDerivation, gtk3, libxfce4ui, pcre, libxfce4util, xfce4-panel, xfconf }: { lib, mkXfceDerivation, gtk3, libxfce4ui, pcre, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-verve-plugin"; pname = "xfce4-verve-plugin";
version = "2.0.0"; version = "2.0.0";
rev = version; rev-prefix = "";
sha256 = "09vpa6m0ah7pgmra094c16vb79xrcwva808g6zpawwrhcwz85lcz"; sha256 = "09vpa6m0ah7pgmra094c16vb79xrcwva808g6zpawwrhcwz85lcz";
buildInputs = [ gtk3 libxfce4ui pcre libxfce4util xfce4-panel ]; buildInputs = [ gtk3 libxfce4ui pcre libxfce4util xfce4-panel ];

View File

@ -1,14 +1,16 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk2, libxml2, libsoup, upower, { stdenv, fetchurl, pkgconfig, intltool, gtk2, libxml2, libsoup, upower,
libxfce4ui, libxfce4util, xfce4-panel, hicolor-icon-theme }: libxfce4ui, libxfce4util, xfce4-panel, hicolor-icon-theme, xfce }:
let
category = "panel-plugins";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}"; pname = "xfce4-weather-plugin";
p_name = "xfce4-weather-plugin"; version = "0.8.10";
ver_maj = "0.8";
ver_min = "10";
src = fetchurl { 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 = "1f7ac2zr5s5w6krdpgsq252wxhhmcblia3j783132ilh8k246vgf"; sha256 = "1f7ac2zr5s5w6krdpgsq252wxhhmcblia3j783132ilh8k246vgf";
}; };
@ -18,12 +20,18 @@ stdenv.mkDerivation rec {
xfce4-panel hicolor-icon-theme ]; xfce4-panel hicolor-icon-theme ];
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.archiveLister category pname;
};
meta = { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Weather plugin for the Xfce desktop environment"; description = "Weather plugin for the Xfce desktop environment";
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ]; maintainers = [ maintainers.romildo ];
}; };
} }

View File

@ -1,10 +1,10 @@
{ mkXfceDerivation, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: { mkXfceDerivation, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-whiskermenu-plugin"; pname = "xfce4-whiskermenu-plugin";
version = "2.4.3"; version = "2.4.3";
rev = "v${version}"; rev-prefix = "v";
sha256 = "1cs3fps1bj0dd5az7fwrvw1xl3y621qk4dma3n73p7rr19j7fpsn"; sha256 = "1cs3fps1bj0dd5az7fwrvw1xl3y621qk4dma3n73p7rr19j7fpsn";
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -1,17 +1,16 @@
{ stdenv, fetchFromGitHub, pkgconfig, intltool, python3, imagemagick, libwnck, gtk2 { stdenv, fetchFromGitHub, pkgconfig, intltool, python3, imagemagick, libwnck, gtk2
, exo, libxfce4ui, libxfce4util, xfce4-panel, xfconf, xfce4-dev-tools }: , exo, libxfce4ui, libxfce4util, xfce4-panel, xfconf, xfce4-dev-tools, xfce }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
p_name = "xfce4-windowck-plugin"; pname = "xfce4-windowck-plugin";
version = "0.4.4"; version = "0.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cedl38"; owner = "cedl38";
repo = "xfce4-windowck-plugin"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0c6a1ibh39dpq9x0dha5lsg0vzmgaf051fgwz0nlky0s94nwzvgv"; sha256 = "0c6a1ibh39dpq9x0dha5lsg0vzmgaf051fgwz0nlky0s94nwzvgv";
}; };
name = "${p_name}-${version}";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool python3 imagemagick libwnck gtk2 buildInputs = [ intltool python3 imagemagick libwnck gtk2
@ -24,8 +23,15 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.gitLister src.meta.homepage;
rev-prefix = "v";
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/${p_name}"; homepage = "https://goodies.xfce.org/projects/panel-plugins/${pname}";
description = "Set of two plugins which allows you to put the maximized window title and windows buttons on the panel"; description = "Set of two plugins which allows you to put the maximized window title and windows buttons on the panel";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -1,10 +1,10 @@
{ lib, mkXfceDerivation, gtk3, librsvg, libwnck3, libxklavier, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: { lib, mkXfceDerivation, gtk3, librsvg, libwnck3, libxklavier, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-xkb-plugin"; pname = "xfce4-xkb-plugin";
version = "0.8.1"; version = "0.8.1";
rev = version; rev-prefix = "";
sha256 = "1gyky4raynp2ggdnq0g96c6646fjm679fzipcsmf1q0aymr8d5ky"; sha256 = "1gyky4raynp2ggdnq0g96c6646fjm679fzipcsmf1q0aymr8d5ky";
buildInputs = [ garcon gtk3 librsvg libxfce4ui libxfce4util libxklavier libwnck3 xfce4-panel xfconf ]; buildInputs = [ garcon gtk3 librsvg libxfce4ui libxfce4util libxklavier libwnck3 xfce4-panel xfconf ];

View File

@ -1,6 +1,5 @@
{ stdenv { stdenv
, mkXfceDerivation , mkXfceDerivation
, fetchFromGitHub
, gtk3 , gtk3
, thunar , thunar
, exo , exo
@ -9,7 +8,7 @@
, gettext , gettext
}: }:
mkXfceDerivation rec { mkXfceDerivation {
category = "thunar-plugins"; category = "thunar-plugins";
pname = "thunar-archive-plugin"; pname = "thunar-archive-plugin";
version = "0.4.0"; version = "0.4.0";

View File

@ -5,6 +5,7 @@
, thunar , thunar
, cmake , cmake
, ninja , ninja
, xfce
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -31,6 +32,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.thunar-dropbox-plugin";
versionLister = xfce.gitLister src.meta.homepage;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/Jeinzi/thunar-dropbox"; homepage = "https://github.com/Jeinzi/thunar-dropbox";
description = "A plugin that adds context-menu items for Dropbox to Thunar"; description = "A plugin that adds context-menu items for Dropbox to Thunar";