sdcc: fix license condition

This commit is contained in:
Yegor Timoshenko 2018-07-17 19:17:03 +03:00 committed by GitHub
parent 4bd4c876f2
commit 879edd79be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
PIC18 targets. It can be retargeted for other microprocessors.
'';
homepage = http://sdcc.sourceforge.net/;
license = with licenses; if (gputils == null) then unfreeRedistributable else gpl2;
license = with licenses; if (gputils == null) then gpl2 else unfreeRedistributable;
maintainers = with maintainers; [ bjornfor yorickvp ];
platforms = platforms.linux;
};