2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config
|
2020-10-04 22:50:59 +02:00
|
|
|
, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg, gdk-pixbuf, gdk-pixbuf-xlib
|
2015-04-02 14:59:34 +02:00
|
|
|
}:
|
2010-07-29 20:55:16 +02:00
|
|
|
|
2015-04-02 14:59:34 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "fbpanel";
|
2015-04-02 14:59:34 +02:00
|
|
|
version = "6.1";
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/fbpanel/${pname}-${version}.tbz2";
|
2015-04-02 14:59:34 +02:00
|
|
|
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
|
2010-11-03 22:57:42 +01:00
|
|
|
};
|
2015-04-02 14:59:34 +02:00
|
|
|
buildInputs =
|
2021-01-19 07:50:56 +01:00
|
|
|
[ pkg-config libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg gdk-pixbuf gdk-pixbuf-xlib.dev ];
|
2010-11-03 22:57:42 +01:00
|
|
|
|
2015-04-02 14:59:34 +02:00
|
|
|
preConfigure = "patchShebangs .";
|
2010-11-03 22:57:42 +01:00
|
|
|
|
2020-10-04 22:50:59 +02:00
|
|
|
postConfigure = ''
|
|
|
|
substituteInPlace config.mk \
|
|
|
|
--replace "CFLAGSX =" "CFLAGSX = -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
|
|
|
|
'';
|
|
|
|
|
2015-04-02 14:59:34 +02:00
|
|
|
NIX_LDFLAGS="-lX11";
|
2010-11-03 22:57:42 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2010-11-04 11:47:24 +01:00
|
|
|
description = "A stand-alone panel";
|
2015-04-02 14:59:34 +02:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2015-11-25 23:04:57 +01:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 15:28:25 +02:00
|
|
|
license = licenses.mit;
|
2010-11-03 22:57:42 +01:00
|
|
|
};
|
2015-04-02 14:59:34 +02:00
|
|
|
|
2010-11-03 22:57:42 +01:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "fbpanel.sourceforge.net";
|
|
|
|
};
|
|
|
|
};
|
2015-04-02 14:59:34 +02:00
|
|
|
}
|