nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

authored by

sternenseemann and committed by
sterni
f8544f96 2fd41fd2

+10 -1
+10 -1
pkgs/development/compilers/neko/default.nix
··· 33 33 meta = with lib; { 34 34 description = "A high-level dynamically typed programming language"; 35 35 homepage = "https://nekovm.org"; 36 - license = licenses.lgpl21; 36 + license = [ 37 + # list based on https://github.com/HaxeFoundation/neko/blob/v2-3-0/LICENSE 38 + licenses.gpl2Plus # nekoc, nekoml 39 + licenses.lgpl21Plus # mysql.ndll 40 + licenses.bsd3 # regexp.ndll 41 + licenses.zlib # zlib.ndll 42 + licenses.asl20 # mod_neko, mod_tora, mbedTLS 43 + licenses.mit # overall, other libs 44 + "https://github.com/HaxeFoundation/neko/blob/v2-3-0/LICENSE#L24-L40" # boehm gc 45 + ]; 37 46 maintainers = [ maintainers.marcweber maintainers.locallycompact ]; 38 47 platforms = platforms.linux ++ platforms.darwin; 39 48 };