uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
68
pkgs/desktops/lxde/core/lxpanel/default.nix
Normal file
68
pkgs/desktops/lxde/core/lxpanel/default.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, gettext
|
||||
, m4
|
||||
, intltool
|
||||
, libxmlxx
|
||||
, keybinder
|
||||
, gtk2
|
||||
, libX11
|
||||
, libfm
|
||||
, libwnck2
|
||||
, libXmu
|
||||
, libXpm
|
||||
, cairo
|
||||
, gdk-pixbuf
|
||||
, gdk-pixbuf-xlib
|
||||
, menu-cache
|
||||
, lxmenu-data
|
||||
, wirelesstools
|
||||
, curl
|
||||
, supportAlsa ? false, alsa-lib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lxpanel";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/lxde/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-HjGPV9fja2HCOlBNA9JDDHja0ULBgERRBh8bPqVEHug=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext m4 intltool libxmlxx ];
|
||||
buildInputs = [
|
||||
keybinder
|
||||
gtk2
|
||||
libX11
|
||||
libfm
|
||||
libwnck2
|
||||
libXmu
|
||||
libXpm
|
||||
cairo
|
||||
gdk-pixbuf
|
||||
gdk-pixbuf-xlib.dev
|
||||
menu-cache
|
||||
lxmenu-data
|
||||
m4
|
||||
wirelesstools
|
||||
curl
|
||||
] ++ lib.optional supportAlsa alsa-lib;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/Makefile.in \
|
||||
--replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
|
||||
substituteInPlace plugins/Makefile.in \
|
||||
--replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight X11 desktop panel for LXDE";
|
||||
homepage = "https://lxde.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.ryneeverett ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue