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,44 @@
{ lib, stdenv, fetchFromGitHub, buildPythonApplication
, colorama, decorator, psutil, pyte, six
, go, mock, pytestCheckHook, pytest-mock
}:
buildPythonApplication rec {
pname = "thefuck";
version = "3.32";
src = fetchFromGitHub {
owner = "nvbn";
repo = pname;
rev = version;
sha256 = "sha256-bRCy95owBJaxoyCNQF6gEENoxCkmorhyKzZgU1dQN6I=";
};
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
checkInputs = [ go mock pytestCheckHook pytest-mock ];
disabledTests = lib.optional stdenv.isDarwin [
"test_settings_defaults"
"test_from_file"
"test_from_env"
"test_settings_from_args"
"test_get_all_executables_exclude_paths"
"test_with_blank_cache"
"test_with_filled_cache"
"test_when_etag_changed"
"test_for_generic_shell"
"test_on_first_run"
"test_on_run_after_other_commands"
"test_when_cant_configure_automatically"
"test_when_already_configured"
"test_when_successfully_configured"
];
meta = with lib; {
homepage = "https://github.com/nvbn/thefuck";
description = "Magnificent app which corrects your previous console command";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}