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
45
pkgs/development/python-modules/pure-python-adb/default.nix
Normal file
45
pkgs/development/python-modules/pure-python-adb/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ aiofiles
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pure-python-adb";
|
||||
version = "0.3.0.dev0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0kdr7w2fhgjpcf1k3l6an9im583iqkr6v8hb4q1zw30nh3bqkk0f";
|
||||
};
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
async = [
|
||||
aiofiles
|
||||
];
|
||||
};
|
||||
|
||||
doCheck = pythonOlder "3.10"; # all tests result in RuntimeError on 3.10
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ passthru.optional-dependencies.async;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ppadb.client"
|
||||
] ++ lib.optionals doCheck [
|
||||
"ppadb.client_async"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure python implementation of the adb client";
|
||||
homepage = "https://github.com/Swind/pure-python-adb";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue