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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,72 @@
{ lib
, stdenv
, fetchFromGitHub
, awk
, grep
, sed
, runtimeShell
, cmake
, libXext
, libXft
, libXinerama
, libXpm
, libXrandr
, libjpeg
, libpng
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "pekwm";
version = "0.2.1";
src = fetchFromGitHub {
owner = "pekdon";
repo = "pekwm";
rev = "release-${version}";
hash= "sha256-voHPstdcd4CHnAdD3PMxca0A6MyMYJi8Ik0UlFB0vG0=";
};
nativeBuildInputs = [
cmake
pkg-config
];
cmakeFlags = [
"-DAWK=${awk}/bin/awk"
"-DGREP=${grep}/bin/grep"
"-DSED=${sed}/bin/sed"
"-DSH=${runtimeShell}"
];
buildInputs = [
libXext
libXft
libXinerama
libXpm
libXrandr
libjpeg
libpng
];
meta = with lib; {
homepage = "https://www.pekwm.se/";
description = "A lightweight window manager";
longDescription = ''
pekwm is a window manager that once upon a time was based on the aewm++
window manager, but it has evolved enough that it no longer resembles
aewm++ at all. It has a much expanded feature-set, including window
grouping (similar to ion, pwm, or fluxbox), autoproperties, xinerama,
keygrabber that supports keychains, and much more.
- Lightweight and Unobtrusive, a window manager shouldn't be noticed.
- Very configurable, we all work and think in different ways.
- Automatic properties, for all the lazy people, make things appear as
they should when starting applications.
- Chainable Keygrabber, usability for everyone.
'';
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}