python31{3,4}.pkgs.meshcore: 2.2.5 -> 2.2.8
This commit is contained in:
@@ -1,25 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
bleak,
|
||||
pycayennelpp,
|
||||
pyserial-asyncio,
|
||||
pyserial-asyncio-fast,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "meshcore";
|
||||
version = "2.2.5";
|
||||
version = "2.2.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-FYGBUKaoOAiDwrJyNW+rrQurEH87lDjP1mW8nKA9HRc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "meshcore-dev";
|
||||
repo = "meshcore_py";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-S3hyA2TsgEHwB0gv5xFMTbwnAoGbceq0C5+8MBedD70=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -27,7 +26,7 @@ buildPythonPackage rec {
|
||||
dependencies = [
|
||||
bleak
|
||||
pycayennelpp
|
||||
pyserial-asyncio
|
||||
pyserial-asyncio-fast
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "meshcore" ];
|
||||
@@ -35,7 +34,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python library for communicating with meshcore companion radios";
|
||||
homepage = "https://github.com/meshcore-dev/meshcore_py";
|
||||
changelog = "https://github.com/meshcore-dev/meshcore_py/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.haylin ];
|
||||
maintainers = with lib.maintainers; [ haylin ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user