nixpkgs/pkgs/applications/window-managers/fbpanel/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
772 B
Nix

{ stdenv, fetchurl, pkgconfig
, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg
}:
stdenv.mkDerivation rec {
pname = "fbpanel";
version = "6.1";
src = fetchurl {
url = "mirror://sourceforge/fbpanel/${pname}-${version}.tbz2";
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
};
buildInputs =
[ pkgconfig libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg ];
preConfigure = "patchShebangs .";
NIX_LDFLAGS="-lX11";
meta = with stdenv.lib; {
description = "A stand-alone panel";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
license = licenses.mit;
};
passthru = {
updateInfo = {
downloadPage = "fbpanel.sourceforge.net";
};
};
}