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 'pws'

View file

@ -0,0 +1,19 @@
GEM
remote: https://rubygems.org/
specs:
clipboard (1.0.6)
paint (1.0.1)
pbkdf2-ruby (0.2.1)
pws (1.0.6)
clipboard (~> 1.0.5)
paint (>= 0.8.7)
pbkdf2-ruby
PLATFORMS
ruby
DEPENDENCIES
pws
BUNDLED WITH
2.1.4

View file

@ -0,0 +1,34 @@
{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript, xsel, makeWrapper }:
stdenv.mkDerivation rec {
pname = "pws";
version = (import ./gemset.nix).pws.version;
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
installPhase = let
env = bundlerEnv {
name = "${pname}-gems";
inherit ruby;
gemdir = ./.;
};
in ''
mkdir -p $out/bin
makeWrapper ${env}/bin/pws $out/bin/pws \
--set PATH '"${xsel}/bin/:$PATH"'
'';
passthru.updateScript = bundlerUpdateScript "pws";
meta = with lib; {
description = "Command-line password safe";
homepage = "https://github.com/janlelis/pws";
license = licenses.mit;
maintainers = with maintainers; [ swistak35 nicknovitski ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,34 @@
{
clipboard = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "11r5xi1fhll4qxna2sg83vmnphjzqc4pzwdnmc5qwvdps5jbz7cq";
type = "gem";
};
version = "1.0.6";
};
paint = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1z1fqyyc2jiv6yabv467h652cxr2lmxl5gqqg7p14y28kdqf0nhj";
type = "gem";
};
version = "1.0.1";
};
pbkdf2-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "014vb5k8klvh192idqrda2571dxsp7ai2v72hj265zd2awy0zyg1";
type = "gem";
};
version = "0.2.1";
};
pws = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1brn123mmrw09ji60sa13ylgfjjp7aicz07hm9h0dc3162zlw5wn";
type = "gem";
};
version = "1.0.6";
};
}