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,28 @@
{ lib, fetchFromGitHub, stdenv, rustPlatform, darwin, pkg-config, openssl
, libiconv, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "mdbook-plantuml";
version = "0.7.0";
src = fetchFromGitHub {
owner = "sytsereitsma";
repo = pname;
rev = "v${version}";
sha256 = "1m53sp3k387injn6mwk2c6rkzw16b12m4j7q0p69fdb3fiqbkign";
};
cargoSha256 = "0xi14k86ym3rfz6901lmj444y814m7vp90bwsyjmcph3hdv6mjp0";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with lib; {
description = "mdBook preprocessor to render PlantUML diagrams to png images in the book output directory";
homepage = "https://github.com/sytsereitsma/mdbook-plantuml";
license = [ licenses.mit ];
maintainers = with maintainers; [ jcouyang ];
};
}