gkrellm: 2.3.5 -> 2.3.10

This commit is contained in:
ndowens 2017-03-22 20:35:44 -05:00
parent 040b86a96e
commit 5fbdb796cd

View file

@ -1,15 +1,19 @@
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk2, libX11, libSM, libICE
, IOKit ? null }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "gkrellm-2.3.5";
name = "gkrellm-2.3.10";
src = fetchurl {
url = "http://members.dslextreme.com/users/billw/gkrellm/${name}.tar.bz2";
sha256 = "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh";
url = "http://gkrellm.srcbox.net/releases/${name}.tar.bz2";
sha256 = "0rnpzjr0ys0ypm078y63q4aplcgdr5nshjzhmz330n6dmnxci7lb";
};
buildInputs = [gettext pkgconfig glib gtk2 libX11 libSM libICE]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [gettext glib gtk2 libX11 libSM libICE]
++ optionals stdenv.isDarwin [ IOKit ];
hardeningDisable = [ "format" ];
@ -22,12 +26,11 @@ stdenv.mkDerivation rec {
sed -i "$i" -e "s|/usr/X11R6|${libX11.dev}|g ; s|-lICE|-lX11 -lICE|g"
done '';
buildPhase = ''
make PREFIX="$out" '';
installPhase = ''
make install PREFIX="$out" '';
installPhase = ''
make DESTDIR=$out install
'';
meta = {
meta = {
description = "Themeable process stack of system monitors";
longDescription =
'' GKrellM is a single process stack of system monitors which supports
@ -36,9 +39,8 @@ stdenv.mkDerivation rec {
'';
homepage = http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html;
license = stdenv.lib.licenses.gpl3Plus;
license = licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
};
}