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
53
pkgs/development/python-modules/txaio/default.nix
Normal file
53
pkgs/development/python-modules/txaio/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, twisted
|
||||
, zope_interface
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "txaio";
|
||||
version = "22.2.1";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-LkWCtw8EsjRZCCVGhKmEIGwNm1DjB0okpMVauiHSTQE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
twisted
|
||||
zope_interface
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# No real value
|
||||
"test_sdist"
|
||||
# Some tests seems out-dated and require additional data
|
||||
"test_as_future"
|
||||
"test_errback"
|
||||
"test_create_future"
|
||||
"test_callback"
|
||||
"test_immediate_result"
|
||||
"test_cancel"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "txaio" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities to support code that runs unmodified on Twisted and asyncio";
|
||||
homepage = "https://github.com/crossbario/txaio";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue