Merge pull request #289371 from nagy/nagy/micropython

This commit is contained in:
Pavol Rusnak 2024-02-17 19:15:45 -03:00 committed by GitHub
commit 6f9f08d3a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "micropython";
version = "1.21.0";
version = "1.22.1";
src = fetchFromGitHub {
owner = "micropython";
repo = "micropython";
rev = "v${version}";
sha256 = "sha256-nUQSj2grq4fNyqOZyYZfYvLwoEXI4PZCYdVXvxLGmPk=";
sha256 = "sha256-NU/C0rxiA/DTbUXZG/RTsq7tGgxtLUUilMhsc8DPA7g=";
fetchSubmodules = true;
};
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
doCheck = true;
skippedTests = ""
skippedTests = " -e select_poll_fd"
+ lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) " -e ffi_callback"
+ lib.optionalString (stdenv.isLinux && stdenv.isAarch64) " -e float_parse"
;
@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
runHook preInstall
mkdir -p $out/bin
install -Dm755 ports/unix/build-standard/micropython -t $out/bin
install -Dm755 mpy-cross/build/mpy-cross -t $out/bin
runHook postInstall
'';