- upgrade fluidsynth from 2.4.8 to 2.5.0
- add missing gcem dependency preventing upgrade
- change hash to fluidsynth with submodules
- Add stdenv.cc.cc.lib to buildInputs to ensure libfluidsynth is properly linked against the C++ standard library, as required.
- Update cmakeFlags to include -Dosal=cpp11 and -Denable-libinstpatch=0 to build fluidsynth without GLib and libinstpatch support.
They are not doing anything right now. This is in preparation for their
complete removal from the tree.
Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.
Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
fluidsynth: Add conditionals to provide default values on darwin
Simplify package.nix
Format to RFC style.
Apply suggestions from code review
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
Fix nix file
fluidsynth: update meta attributes to use lib
fluidsynth: simplify derivation definition
fluidsynth: refactor derivation to use final attributes for versioning
fluidsynth: Update meta attribute structure
Update pkgs/by-name/fl/fluidsynth/package.nix
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
Add license.
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>