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 "jsduck"

View file

@ -0,0 +1,23 @@
GEM
remote: https://rubygems.org/
specs:
dimensions (1.2.0)
jsduck (5.3.4)
dimensions (~> 1.2.0)
json (~> 1.8.0)
parallel (~> 0.7.1)
rdiscount (~> 2.1.6)
rkelly-remix (~> 0.0.4)
json (1.8.6)
parallel (0.7.1)
rdiscount (2.1.8)
rkelly-remix (0.0.7)
PLATFORMS
ruby
DEPENDENCIES
jsduck
BUNDLED WITH
2.1.4

View file

@ -0,0 +1,33 @@
{ stdenv, lib, bundlerEnv, makeWrapper, bundlerUpdateScript }:
stdenv.mkDerivation rec {
pname = "jsduck";
version = (import ./gemset.nix).jsduck.version;
env = bundlerEnv {
name = pname;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ env ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/jsduck $out/bin/jsduck
'';
passthru.updateScript = bundlerUpdateScript "jsduck";
meta = with lib; {
description = "Simple JavaScript Duckumentation generator";
homepage = "https://github.com/senchalabs/jsduck";
license = with licenses; gpl3;
maintainers = with maintainers; [ periklis nicknovitski ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,51 @@
{
dimensions = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1pqb7yzjcpbgbyi196ifqbd1wy570cn12bkzcvpcha4xilhajja0";
type = "gem";
};
version = "1.2.0";
};
jsduck = {
dependencies = ["dimensions" "json" "parallel" "rdiscount" "rkelly-remix"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0hac7g9g6gg10bigbm8dskwwbv1dfch8ca353gh2bkwf244qq2xr";
type = "gem";
};
version = "5.3.4";
};
json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0qmj7fypgb9vag723w1a49qihxrcf5shzars106ynw2zk352gbv5";
type = "gem";
};
version = "1.8.6";
};
parallel = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1kzz6ydg7r23ks2b7zbpx4vz3h186n19vhgnjcwi7xwd6h2f1fsq";
type = "gem";
};
version = "0.7.1";
};
rdiscount = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vcyy90r6wfg0b0y5wqp3d25bdyqjbwjhkm1xy9jkz9a7j72n70v";
type = "gem";
};
version = "2.1.8";
};
rkelly-remix = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1g7hjl9nx7f953y7lncmfgp0xgxfxvgfm367q6da9niik6rp1y3j";
type = "gem";
};
version = "0.0.7";
};
}