mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Add GKrellM, a graphical system monitor.
svn path=/nixpkgs/trunk/; revision=10660
This commit is contained in:
parent
59a2df56b4
commit
e1f2b15c70
33
pkgs/applications/misc/gkrellm/default.nix
Normal file
33
pkgs/applications/misc/gkrellm/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gkrellm-2.3.1";
|
||||
src = fetchurl {
|
||||
url = http://members.dslextreme.com/users/billw/gkrellm/gkrellm-2.3.1.tar.bz2;
|
||||
sha256 = "1a2a7e3ee9d1f2d7305da0d33d9be71ffe5d1903ed6a9c69cf77ffe10fc95b4d";
|
||||
};
|
||||
|
||||
buildInputs = [gettext pkgconfig glib gtk libX11 libSM libICE];
|
||||
|
||||
# Makefiles are patched to fix references to `/usr/X11R6' and to add
|
||||
# `-lX11' to make sure libX11's store path is in the RPATH.
|
||||
patchPhase = ''
|
||||
echo "patching makefiles..."
|
||||
for i in Makefile src/Makefile server/Makefile
|
||||
do
|
||||
cat "$i" | sed -e "s|/usr/X11R6|${libX11}|g ;
|
||||
s|-lICE|-lX11 -lICE|g" > ",,tmp" && \
|
||||
mv ",,tmp" "$i"
|
||||
done '';
|
||||
|
||||
buildPhase = ''
|
||||
make PREFIX="$out" '';
|
||||
installPhase = ''
|
||||
make install PREFIX="$out" '';
|
||||
|
||||
meta = {
|
||||
description = "GKrellM, a themeable process stack of system monitors.";
|
||||
homepage = http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html;
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
@ -4791,6 +4791,12 @@ rec {
|
||||
inherit fetchurl stdenv curl openssl zlib expat perl;
|
||||
};
|
||||
|
||||
gkrellm = import ../applications/misc/gkrellm {
|
||||
inherit fetchurl stdenv gettext pkgconfig;
|
||||
inherit (gtkLibs) glib gtk;
|
||||
inherit (xlibs) libX11 libICE libSM;
|
||||
};
|
||||
|
||||
gnash = assert mesaSupported; import ../applications/video/gnash {
|
||||
inherit fetchurl stdenv SDL SDL_mixer GStreamer
|
||||
libogg libxml2 libjpeg mesa libpng;
|
||||
|
Loading…
Reference in New Issue
Block a user