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,23 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "evscript";
version = "unstable-2021-06-16";
src = fetchFromGitHub {
owner = "unrelentingtech";
repo = pname;
rev = "25912c0b6446f31b0f64485af3fa4aa8a93b33df";
sha256 = "sha256-apq3kHipEX6zOTNwqpIQR46JqmeE7EKVSOGrNNSkyu8=";
};
cargoSha256 = "sha256-1aR9/fhJQ+keRIxSG2cpY1HTalE6nM+MTb1Za3Tot28=";
meta = with lib; {
homepage = "https://github.com/unrelentingtech/evscript";
description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
license = licenses.unlicense;
maintainers = with maintainers; [ milesbreslin ];
platforms = platforms.linux;
};
}