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,30 @@
{ lib, buildPythonPackage, fetchFromGitHub, libev, python }:
buildPythonPackage rec {
pname = "bjoern";
version = "3.2.1";
format = "setuptools";
# tests are not published to pypi anymore
src = fetchFromGitHub {
owner = "jonashaag";
repo = pname;
rev = version;
hash = "sha256-d7u/lEh2Zr5NYWYu4Zr7kgyeOIQuHQLYrZeiZMHbpio=";
fetchSubmodules = true; # fetch http-parser and statsd-c-client submodules
};
buildInputs = [ libev ];
checkPhase = ''
${python.interpreter} tests/keep-alive-behaviour.py 2>/dev/null
${python.interpreter} tests/test_wsgi_compliance.py
'';
meta = with lib; {
homepage = "https://github.com/jonashaag/bjoern";
description = "A screamingly fast Python 2/3 WSGI server written in C";
license = licenses.bsd2;
maintainers = with maintainers; [ cmcdragonkai ];
};
}