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,3 @@
source "https://rubygems.org"
gem "homesick"

View file

@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
homesick (1.1.6)
thor (>= 0.14.0)
thor (0.20.0)
PLATFORMS
ruby
DEPENDENCIES
homesick
BUNDLED WITH
2.1.4

View file

@ -0,0 +1,28 @@
{ lib, bundlerEnv, bundlerUpdateScript, git }:
bundlerEnv {
pname = "homesick";
gemdir = ./.;
# Cannot use `wrapProgram` because the the help is aware of the file name.
postInstall = ''
rm $out/bin/thor
sed 1a'ENV["PATH"] = "${git}/bin:#{ENV["PATH"] ? ":#{ENV["PATH"]}" : "" }"' -i $out/bin/homesick
'';
passthru.updateScript = bundlerUpdateScript "homesick";
meta = with lib; {
description = "Your home directory is your castle. Don't leave your dotfiles behind";
longDescription =
''
Homesick is sorta like rip, but for dotfiles. It uses git to clone a repository containing
dotfiles, and saves them in ~/.homesick. It then allows you to symlink all the dotfiles into
place with a single command.
'';
homepage = "https://github.com/technicalpickles/homesick";
license = licenses.mit;
maintainers = with maintainers; [ aaronschif nicknovitski ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,19 @@
{
homesick = {
dependencies = ["thor"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0lxvnp4ncbx0irlblfxbd1f8h4hl11hgmyiy35q79w137r3prxml";
type = "gem";
};
version = "1.1.6";
};
thor = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0nmqpyj642sk4g16nkbq6pj856adpv91lp4krwhqkh2iw63aszdl";
type = "gem";
};
version = "0.20.0";
};
}