8 stdenv.mkDerivation (finalAttrs: {
10 version = "unstable-2023-05-22";
12 src = fetchFromGitHub {
15 rev = "de7c75f144176c3b9be77695d9bf94440445aeae";
16 hash = "sha256-248plvODhBRfmx7zOmf05ICbk8vzSbaceZJ0j+wPaAY=";
20 # # aarch64: syscall: mkdir -> mkdirat
21 # https://github.com/oriansj/M2libc/pull/17
23 url = "https://github.com/oriansj/M2libc/commit/ff7c3023b3ab6cfcffc5364620b25f8d0279e96b.patch";
24 hash = "sha256-QAKddv4TixIQHpFa9SVu9fAkeKbzhQaxjaWzW2yJy7A=";
32 cp -r . $out/include/M2libc
38 description = "More standards compliant C library written in M2-Planet's C subset";
39 homepage = "https://github.com/oriansj/m2libc";
40 license = licenses.gpl3Only;
41 maintainers = teams.minimal-bootstrap.members;