simulide: use correct license above 1.1.0

(cherry picked from commit 1de59e443d)
This commit is contained in:
TomaSajt 2026-06-16 13:26:24 +02:00 committed by github-actions[bot]
commit ff2c3f7475

View file

@ -168,7 +168,8 @@ stdenv.mkDerivation {
It supports PIC, AVR, Arduino and other MCUs and MPUs.
'';
homepage = "https://simulide.com/";
license = lib.licenses.gpl3Only;
license =
if lib.versionAtLeast versionNum "1.1.0" then lib.licenses.agpl3Only else lib.licenses.gpl3Only;
mainProgram = "simulide";
maintainers = with lib.maintainers; [
carloscraveiro