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
57
pkgs/applications/misc/xxkb/default.nix
Normal file
57
pkgs/applications/misc/xxkb/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, libX11
|
||||
, libXt
|
||||
, libXext
|
||||
, libXpm
|
||||
, imake
|
||||
, gccmakedep
|
||||
, svgSupport ? false
|
||||
, librsvg
|
||||
, glib
|
||||
, gdk-pixbuf
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xxkb";
|
||||
version = "1.11.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xxkb/xxkb-${version}-src.tar.gz";
|
||||
sha256 = "0hl1i38z9xnbgfjkaz04vv1n8xbgfg88g5z8fyzyb2hxv2z37anf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ imake gccmakedep ];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXt
|
||||
libXext
|
||||
libXpm
|
||||
] ++ lib.optionals svgSupport [ librsvg glib gdk-pixbuf pkg-config ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
imakeFlags = lib.optionalString svgSupport "-DWITH_SVG_SUPPORT";
|
||||
|
||||
makeFlags = [
|
||||
"BINDIR=${placeholder "out"}/bin"
|
||||
"CONFDIR=${placeholder "out"}/etc/X11"
|
||||
"PIXMAPDIR=${placeholder "out"}/share/xxkb"
|
||||
"LIBDIR=${placeholder "out"}/lib/X11"
|
||||
"XAPPLOADDIR=${placeholder "out"}/etc/X11/app-defaults"
|
||||
"MANDIR=${placeholder "man"}/share/man"
|
||||
];
|
||||
|
||||
installTargets = [ "install" "install.man" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A keyboard layout indicator and switcher";
|
||||
homepage = "http://xxkb.sourceforge.net/";
|
||||
license = licenses.artistic2;
|
||||
maintainers = with maintainers; [ rasendubi ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue