Merge pull request #151839 from fabaff/bump-meshtastic

python3Packages.meshtastic: 1.2.44 -> 1.2.46
This commit is contained in:
Fabian Affolter 2021-12-23 07:57:05 +01:00 committed by GitHub
commit 65b0f037c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,32 @@
{ lib
, buildPythonPackage
, dotmap
, fetchPypi
, fetchFromGitHub
, pexpect
, protobuf
, pygatt
, pypubsub
, pyqrcode
, pyserial
, pytestCheckHook
, pythonOlder
, pyyaml
, tabulate
, timeago
}:
buildPythonPackage rec {
pname = "meshtastic";
version = "1.2.44";
version = "1.2.46";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "f99e076dde0db86a5ba734b48257ffc7355a2b4729cea1ff5cd7638ca93dbd90";
src = fetchFromGitHub {
owner = "meshtastic";
repo = "Meshtastic-python";
rev = version;
sha256 = "sha256-XNoAt0R3Jt8i0erovwHBIJ3l9bY5po2UjRl/uzGBs9k=";
};
propagatedBuildInputs = [
@ -33,13 +37,18 @@ buildPythonPackage rec {
pypubsub
pyqrcode
pyserial
pyyaml
tabulate
timeago
];
# Project only provides PyPI releases which don't contain the tests
# https://github.com/meshtastic/Meshtastic-python/issues/86
doCheck = false;
checkInputs = [
pytestCheckHook
];
preCheck = ''
export PATH="$PATH:$out/bin";
'';
pythonImportsCheck = [
"meshtastic"