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
38
pkgs/development/python-modules/pyspinel/default.nix
Normal file
38
pkgs/development/python-modules/pyspinel/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyspinel";
|
||||
version = "unstable-2021-08-19";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openthread";
|
||||
repo = pname;
|
||||
rev = "50d104e29eacd92d229f0b7179ec1067f5851c17";
|
||||
sha256 = "0s2r00zb909cq3dd28i91qbl0nz8cga3g98z84gq5jqkjpiy8269";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
];
|
||||
|
||||
# Tests are out-dated
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"spinel"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interface to the OpenThread Network Co-Processor (NCP)";
|
||||
homepage = "https://github.com/openthread/pyspinel";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue