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,51 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, xmltodict
}:
buildPythonPackage rec {
pname = "aiosteamist";
version = "0.3.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = version;
hash = "sha256-VoIJh3EDBPKmvEmM3gP2pyt/0oz4i6Y0zIkkprTcFLg=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
xmltodict
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov=aiosteamist" ""
'';
pythonImportsCheck = [
"aiosteamist"
];
# Modules doesn't have test suite
doCheck = false;
meta = with lib; {
description = "Module to control Steamist steam systems";
homepage = "https://github.com/bdraco/aiosteamist";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}