mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
40 lines
1.3 KiB
Nix
40 lines
1.3 KiB
Nix
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk, libX11, libSM, libICE }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gkrellm-2.3.4";
|
|
src = fetchurl {
|
|
url = "http://members.dslextreme.com/users/billw/gkrellm/${name}.tar.bz2";
|
|
sha256 = "0mjg2pxpiqms7d6dvxzxvpa420cakhpjxvrclhq0y8jd2dlv2irl";
|
|
};
|
|
|
|
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
|
|
sed -i "$i" -e "s|/usr/X11R6|${libX11}|g ; s|-lICE|-lX11 -lICE|g"
|
|
done '';
|
|
|
|
buildPhase = ''
|
|
make PREFIX="$out" '';
|
|
installPhase = ''
|
|
make install PREFIX="$out" '';
|
|
|
|
meta = {
|
|
description = "Themeable process stack of system monitors";
|
|
longDescription =
|
|
'' GKrellM is a single process stack of system monitors which supports
|
|
applying themes to match its appearance to your window manager, Gtk,
|
|
or any other theme.
|
|
'';
|
|
|
|
homepage = http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html;
|
|
license = "GPLv3+";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|