3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/misc/gnome-applets/default.nix

85 lines
1.4 KiB
Nix
Raw Normal View History

2018-08-08 05:02:40 +01:00
{ stdenv
, fetchurl
, intltool
, itstool
, libxml2
, libxslt
, pkgconfig
, gnome-panel
, gtk3
, glib
, libwnck3
, libgtop
, libnotify
, upower
, wirelesstools
, linuxPackages
, adwaita-icon-theme
, libgweather
, gucharmap
, tracker
, polkit
, gnome3
}:
let
pname = "gnome-applets";
2020-06-09 22:16:24 +01:00
version = "3.36.4";
2018-08-08 05:02:40 +01:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2020-06-09 22:16:24 +01:00
sha256 = "1cd7y2air9cjznqmnynadbsayvq4dpsi39avnz46vv0bavx1aiwz";
2018-08-08 05:02:40 +01:00
};
nativeBuildInputs = [
intltool
itstool
pkgconfig
libxml2
libxslt
];
buildInputs = [
gnome-panel
gtk3
glib
libxml2
libwnck3
libgtop
libnotify
upower
adwaita-icon-theme
libgweather
gucharmap
tracker
polkit
wirelesstools
linuxPackages.cpupower
];
enableParallelBuilding = true;
doCheck = true;
configureFlags = [
"--with-libpanel-applet-dir=${placeholder "out"}/share/gnome-panel/applets"
2018-08-08 05:02:40 +01:00
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "Applets for use with the GNOME panel";
homepage = "https://wiki.gnome.org/Projects/GnomeApplets";
2018-08-08 05:02:40 +01:00
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
2018-08-08 05:02:40 +01:00
platforms = platforms.linux;
};
}