|
|
|
@ -45,6 +45,7 @@ rec { |
|
|
|
|
[ |
|
|
|
|
{ path = ["meta" "broken"]; msg = (warn "Package ${p.name} is marked as broken." true); check = m: m; } |
|
|
|
|
{ path = ["meta" "knownVulnerabilities" ]; msg = (warn "Package ${p.name} has known Vulnerabilities.." true); check = m: m != []; } |
|
|
|
|
{ path = ["name"]; msg = (warn "${p.name}: python2 is depricated." false); check = m: (strings.hasInfix "python2" m) || (strings.hasInfix "python-2" m); } |
|
|
|
|
# not sure if the following test creates false positives (AFAIK every derivation/package needs to have an outPath) |
|
|
|
|
# , definitely should catch all corner cases/everything that fails to evaluate. |
|
|
|
|
{ path = [ "outPath" ]; msg = (warn "Package ${p.name} has no outPath" true); check = m: !(tryEval m).success; } |
|
|
|
|