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,52 @@
{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, prompt-toolkit
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "questionary";
version = "1.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tmbo";
repo = pname;
rev = version;
sha256 = "14k24fq2nmk90iv0k7pnmmdhmk8z261397wg52sfcsccyhpdw3i7";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
prompt-toolkit
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# TypeError: <lambda>() missing 1 required...
"test_print_with_style"
];
pythonImportsCheck = [
"questionary"
];
meta = with lib; {
description = "Python library to build command line user prompts";
homepage = "https://github.com/tmbo/questionary";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}