15 stdenv.mkDerivation rec {
19 # Unfortunately old releases get removed:
20 # http://www.avr-asm-tutorial.net/avr_sim/avr_sim-download.html
21 # Therefore, fallback to an archive.org snapshot
24 "http://www.avr-asm-tutorial.net/avr_sim/28/avr_sim_28_lin_src.zip"
25 "https://web.archive.org/web/20231129125754/http://www.avr-asm-tutorial.net/avr_sim/28/avr_sim_28_lin_src.zip"
27 hash = "sha256-7MgUzMs+l+3RVUbORAWyU1OUpgrKIeWhS+ObgRJtOHc=";
45 NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
50 lazbuild --lazarusdir=${lazarus}/share/lazarus --build-mode=Release avr_sim.lpi
66 description = "AVR assembler simulator for the stepwise execution of assembler source code - with many extras";
67 homepage = "http://www.avr-asm-tutorial.net/avr_sim/index_en.html";
68 license = licenses.unfree;
69 platforms = platforms.unix;
70 maintainers = with maintainers; [ ameer ];