neko: try to list applying licenses more accurately
As a side note: This change shows why `with` can be dangerous business: It doesn't shadow any existing bindings which can be unexpected. If I were to use with licenses; [ … ] here, zlib in the with block would actually be the zlib passed via the function arguments instead of the zlib from licenses which would be expected. This was what caused the previous eval error.
This commit is contained in:
parent
2fd41fd203
commit
f8544f96f1
1 changed files with 10 additions and 1 deletions
|
@ -33,7 +33,16 @@ stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
description = "A high-level dynamically typed programming language";
|
||||
homepage = "https://nekovm.org";
|
||||
license = licenses.lgpl21;
|
||||
license = [
|
||||
# list based on https://github.com/HaxeFoundation/neko/blob/v2-3-0/LICENSE
|
||||
licenses.gpl2Plus # nekoc, nekoml
|
||||
licenses.lgpl21Plus # mysql.ndll
|
||||
licenses.bsd3 # regexp.ndll
|
||||
licenses.zlib # zlib.ndll
|
||||
licenses.asl20 # mod_neko, mod_tora, mbedTLS
|
||||
licenses.mit # overall, other libs
|
||||
"https://github.com/HaxeFoundation/neko/blob/v2-3-0/LICENSE#L24-L40" # boehm gc
|
||||
];
|
||||
maintainers = [ maintainers.marcweber maintainers.locallycompact ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue