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