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,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, httpx
, pythonOlder
}:
buildPythonPackage rec {
pname = "iotawattpy";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "1pyxm87lvd6zy0rx7r9jivk2li267r3xr0b9p6vf0v0vp9fmgsw3";
};
propagatedBuildInputs = [
httpx
];
# Project doesn't tag releases or ship the tests with PyPI
# https://github.com/gtdiehl/iotawattpy/issues/14
doCheck = false;
pythonImportsCheck = [ "iotawattpy" ];
meta = with lib; {
description = "Python interface for the IoTaWatt device";
homepage = "https://github.com/gtdiehl/iotawattpy";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}