Skip to content
Snippets Groups Projects
Commit c05758fa authored by Sophie Tauchert's avatar Sophie Tauchert Committed by q3k
Browse files

nix: add mpremote package

parent 4e25e98f
No related branches found
No related tags found
No related merge requests found
...@@ -5,4 +5,5 @@ ...@@ -5,4 +5,5 @@
esp-llvm = super.callPackage ./esp-llvm.nix {}; esp-llvm = super.callPackage ./esp-llvm.nix {};
esp-gdb = super.callPackage ./esp-gdb.nix {}; esp-gdb = super.callPackage ./esp-gdb.nix {};
run-clang-tidy = super.callPackage ./run-clang-tidy {}; run-clang-tidy = super.callPackage ./run-clang-tidy {};
mpremote = super.python310Packages.callPackage ./mpremote {};
}) })
{ python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "mpremote";
version = "1.20.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-XDQnYqBHkTCd1JvOY8cKB1qnxUixwAdiYrlvnMw5jKI=";
};
doCheck = false;
nativeBuildInputs = with python3.pkgs; [
hatchling
hatch-requirements-txt
hatch-vcs
];
propagatedBuildInputs = with python3.pkgs; [
pyserial
importlib-metadata
];
}
...@@ -35,5 +35,6 @@ in with nixpkgs; rec { ...@@ -35,5 +35,6 @@ in with nixpkgs; rec {
emscripten emscripten
ncurses5 ncurses5
esp-gdb esp-gdb
mpremote
]; ];
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment