mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
avr-sim: drop
This commit is contained in:
parent
6245aa9fcc
commit
1c320d5bd4
2 changed files with 1 additions and 72 deletions
|
@ -1,72 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
lazarus,
|
||||
fpc,
|
||||
pango,
|
||||
cairo,
|
||||
glib,
|
||||
atk,
|
||||
gtk2,
|
||||
libX11,
|
||||
gdk-pixbuf,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "avr-sim";
|
||||
version = "2.8";
|
||||
|
||||
# Unfortunately old releases get removed:
|
||||
# http://www.avr-asm-tutorial.net/avr_sim/avr_sim-download.html
|
||||
# Therefore, fallback to an archive.org snapshot
|
||||
src = fetchzip {
|
||||
urls = [
|
||||
"http://www.avr-asm-tutorial.net/avr_sim/28/avr_sim_28_lin_src.zip"
|
||||
"https://web.archive.org/web/20231129125754/http://www.avr-asm-tutorial.net/avr_sim/28/avr_sim_28_lin_src.zip"
|
||||
];
|
||||
hash = "sha256-7MgUzMs+l+3RVUbORAWyU1OUpgrKIeWhS+ObgRJtOHc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
lazarus
|
||||
fpc
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pango
|
||||
cairo
|
||||
glib
|
||||
atk
|
||||
gtk2
|
||||
libX11
|
||||
gdk-pixbuf
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
lazbuild --lazarusdir=${lazarus}/share/lazarus --build-mode=Release avr_sim.lpi
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
|
||||
cp avr_sim $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "AVR assembler simulator for the stepwise execution of assembler source code - with many extras";
|
||||
homepage = "http://www.avr-asm-tutorial.net/avr_sim/index_en.html";
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ameer ];
|
||||
};
|
||||
}
|
|
@ -318,6 +318,7 @@ mapAliases {
|
|||
authy = throw "'authy' has been removed since it reached end of life"; # Added 2024-04-19
|
||||
autoadb = throw "'autoadb' has been removed due to lack of maintenance upstream"; # Added 2025-01-25
|
||||
avldrums-lv2 = throw "'avldrums-lv2' has been renamed to/replaced by 'x42-avldrums'"; # Converted to throw 2024-10-17
|
||||
avr-sim = throw "'avr-sim' has been removed as it was broken and unmaintained. Possible alternatives are 'simavr', SimulAVR and AVRStudio."; # Added 2025-05-31
|
||||
avrlibcCross = avrlibc; # Added 2024-09-06
|
||||
axmldec = throw "'axmldec' has been removed as it was broken and unmaintained for 8 years"; # Added 2025-05-17
|
||||
awesome-4-0 = awesome; # Added 2022-05-05
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue