mpremote: migrate to by-name (#427754)

This commit is contained in:
Peder Bergebakken Sundt
2025-08-03 00:08:22 +02:00
committed by GitHub
2 changed files with 8 additions and 15 deletions
@@ -1,14 +1,9 @@
{
lib,
buildPythonApplication,
python3Packages,
fetchFromGitHub,
hatchling,
hatch-requirements-txt,
hatch-vcs,
pyserial,
importlib-metadata,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "mpremote";
version = "1.25.0";
@@ -21,24 +16,24 @@ buildPythonApplication rec {
sourceRoot = "${src.name}/tools/mpremote";
format = "pyproject";
nativeBuildInputs = [
nativeBuildInputs = with python3Packages; [
hatchling
hatch-requirements-txt
hatch-vcs
];
propagatedBuildInputs = [
dependencies = with python3Packages; [
pyserial
importlib-metadata
];
pythonImportsCheck = [ "mpremote" ];
meta = with lib; {
meta = {
description = "Integrated set of utilities to remotely interact with and automate a MicroPython device over a serial connection";
homepage = "https://github.com/micropython/micropython/blob/master/tools/mpremote/README.md";
platforms = platforms.unix;
license = licenses.mit;
maintainers = with maintainers; [ _999eagle ];
platforms = lib.platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ _999eagle ];
mainProgram = "mpremote";
};
}
-2
View File
@@ -1108,8 +1108,6 @@ with pkgs;
mkosi-full = mkosi.override { withQemu = true; };
mpremote = python3Packages.callPackage ../tools/misc/mpremote { };
mpy-utils = python3Packages.callPackage ../tools/misc/mpy-utils { };
networkd-notify = python3Packages.callPackage ../tools/networking/networkd-notify {