2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools-scm,
|
|
|
|
pyocd,
|
|
|
|
pypemicro,
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyocd-pemicro";
|
|
|
|
version = "1.1.5";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pyocd";
|
|
|
|
repo = "pyocd-pemicro";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-qi803s8fkrLizcCLeDRz7CTQ56NGLQ4PPwCbxiRigwc=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyocd
|
|
|
|
pypemicro
|
|
|
|
];
|
|
|
|
|
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/pyocd/pyocd-pemicro/releases/tag/v${version}";
|
|
|
|
description = "PEMicro probe plugin for pyOCD";
|
|
|
|
homepage = "https://github.com/pyocd/pyocd-pemicro";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|