mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
batti: remove
This one was already marked as broken.
This commit is contained in:
parent
af7a1dad84
commit
30b5b7944c
@ -1,51 +0,0 @@
|
||||
{ stdenv, fetchurl
|
||||
, pkgconfig, gettext, pythonPackages
|
||||
, gtk2, gdk-pixbuf, upower
|
||||
, makeWrapper }:
|
||||
|
||||
let
|
||||
inherit (pythonPackages) dbus-python pygtk python;
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
pname = "batti";
|
||||
version = "0.3.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://batti-gtk.googlecode.com/files/${pname}-${version}.tar.gz";
|
||||
sha256 = "072d92gpsiiin631589nj77i2w1425p6db0qxyml7myscfy9jgx6";
|
||||
};
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
[ pkgconfig gettext python gtk2 pygtk dbus-python gdk-pixbuf upower makeWrapper ];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
python setup.py build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
python setup.py install --prefix $out
|
||||
wrapProgram "$out/bin/batti" \
|
||||
--set PYTHONPATH "$PYTHONPATH:$(toPythonPath $out)" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An {UPower,GTK}-based battery monitor for the system tray";
|
||||
longDescription = ''
|
||||
Batti is a simple battery monitor for the system tray. Batti
|
||||
uses UPower, and if that is missing DeviceKit.Power, for it's
|
||||
power information.
|
||||
'';
|
||||
homepage = http://batti-gtk.googlecode.com/;
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
|
||||
};
|
||||
}
|
||||
|
||||
# TODO: fix the "icon not found" problems...
|
@ -48,6 +48,7 @@ mapAliases ({
|
||||
at_spi2_core = at-spi2-core; # added 2018-02-25
|
||||
bar-xft = lemonbar-xft; # added 2015-01-16
|
||||
bashCompletion = bash-completion; # Added 2016-09-28
|
||||
batti = throw "batti has been removed from nixpkgs, as it was unmaintained"; # added 2019-12-10
|
||||
beegfs = throw "beegfs has been removed."; # added 2019-11-24
|
||||
bridge_utils = bridge-utils; # added 2015-02-20
|
||||
bro = zeek; # added 2019-09-29
|
||||
|
@ -18014,8 +18014,6 @@ in
|
||||
|
||||
batik = callPackage ../applications/graphics/batik { };
|
||||
|
||||
batti = callPackage ../applications/misc/batti { };
|
||||
|
||||
baudline = callPackage ../applications/audio/baudline { };
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user