mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
aa001cc937
Keep only the version atribute in derivations, with the full version string of the package. This will make it easier to write a script for automatic updating of the packages using the update-source-version command from common-updater-scripts.
50 lines
1.2 KiB
Nix
50 lines
1.2 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, libwnck3, libgtop, libxml2, libnotify, dbus_glib, polkit, upower, wirelesstools, mate, pythonPackages, hicolor_icon_theme, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mate-applets-${version}";
|
|
version = "1.18.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "045cl62nnfsl14vnfydwqjssdakgdrahh5h0xiz5afmdcbq6cqgw";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
itstool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gnome3.gtk
|
|
gnome3.gtksourceview
|
|
gnome3.gucharmap
|
|
libwnck3
|
|
libgtop
|
|
libxml2
|
|
libnotify
|
|
dbus_glib
|
|
polkit
|
|
upower
|
|
wirelesstools
|
|
mate.libmateweather
|
|
mate.mate-panel
|
|
pythonPackages.python
|
|
pythonPackages.pygobject3
|
|
hicolor_icon_theme
|
|
];
|
|
|
|
configureFlags = [ "--enable-suid=no" ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Applets for use with the MATE panel";
|
|
homepage = http://mate-desktop.org;
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|