nixpkgs/pkgs/applications/science/machine-learning/shogun
Sebastián Mancilla e810fad47a shogun: remove non-distributable SVMlight code
SVMlight uses a non-standard license [0] that doesn't allow distribution
without the author's permission:

> The software must not be modified and distributed without prior permission of the author.

So remove all code related to it when building the binary package.
Use upstream's own script to do it (which they use to create and
distribute their own Debian package), with a few fixes.

There is still the option of building from source with SVMlight enabled
with an override that sets the withSvmLight parameter.

If SVMlight is enabled set the license to unfree. Also fix the
deprecated gpl3 license to gpl3Plus.

[0]: https://github.com/shogun-toolbox/shogun/blob/shogun_6.1.4/doc/license/LICENSE_SVMlight.md
2021-09-17 15:04:34 -03:00
..
default.nix shogun: remove non-distributable SVMlight code 2021-09-17 15:04:34 -03:00
svmlight-scrubber.patch shogun: remove non-distributable SVMlight code 2021-09-17 15:04:34 -03:00