micropython: 1.19.1 -> 1.20.0

This commit is contained in:
Michael Mogenson 2023-09-25 10:25:49 -04:00
parent e12483116b
commit f1bdffc97a

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "micropython"; pname = "micropython";
version = "1.19.1"; version = "1.20.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "micropython"; owner = "micropython";
repo = "micropython"; repo = "micropython";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-BoX3Z3Zr/AQqkgRrq+UVgdoDqNESDTNsY9AtrElpzfA="; sha256 = "sha256-XTkw0M2an13xlRlDusyHYqwNeHqhq4mryRC5/pk+5Ko=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -33,7 +33,6 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
skippedTests = "" skippedTests = ""
+ lib.optionalString (stdenv.isDarwin) " -e uasyncio_basic -e uasyncio_heaplock -e uasyncio_wait_task"
+ lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) " -e ffi_callback" + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) " -e ffi_callback"
+ lib.optionalString (stdenv.isLinux && stdenv.isAarch64) " -e float_parse" + lib.optionalString (stdenv.isLinux && stdenv.isAarch64) " -e float_parse"
; ;
@ -49,7 +48,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
install -Dm755 ports/unix/micropython -t $out/bin install -Dm755 ports/unix/build-standard/micropython -t $out/bin
runHook postInstall runHook postInstall
''; '';