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:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
51
pkgs/development/python-modules/pytest-timeout/default.nix
Normal file
51
pkgs/development/python-modules/pytest-timeout/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pexpect
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-timeout";
|
||||
version = "2.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-wHygdATGEvirviIpSyPDaOLlEEtSHBeQGVVh834aw9k=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pexpect
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_suppresses_timeout_when_pdb_is_entered"
|
||||
# Remove until https://github.com/pytest-dev/pytest/pull/7207 or similar
|
||||
"test_suppresses_timeout_when_debugger_is_entered"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-ra"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytest_timeout"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pytest plugin to abort hanging tests";
|
||||
homepage = "https://github.com/pytest-dev/pytest-timeout/";
|
||||
changelog = "https://github.com/pytest-dev/pytest-timeout/#changelog";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ makefu costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue