bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
226 stars 175 forks source link

pkg_deb license attribute is not supported #650

Closed nstng closed 1 year ago

nstng commented 1 year ago

Hi, before I have a look if I could help to contribute support for the license attribute: is there a known reason why pkg_deb does not already support the license attribute? Can this already be set another way (that I am not seeing)?

Expected e.g.,

pkg_deb(
  ...
  license = "BSD-3-Clause",
  ...
)

$ dpkg -I foo.deb
...
 License: BSD-3-Clause
...
nstng commented 1 year ago

Went ahead and created a small PR.

aiuto commented 1 year ago

The reason is simple. No one cared about it up until now.