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