openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
https://openbuildservice.org
GNU General Public License v2.0
937 stars 440 forks source link

Ability to build Haskell packages using Open Build Service #12200

Open mark-stopka opened 2 years ago

mark-stopka commented 2 years ago

Is your feature request related to a problem? Please describe. Currently packaging experience for Haskell software in openSUSE is too developer unfriendly, experience with Golang or Rust is much better as we can build static binaries with dependency resolution using native packaging systems such as cargo.

Describe the solution you'd like It would be great if we had cargo_vendor alternative for cabal, the native dependency management for Haskell.

Describe alternatives you've considered Packaging using openSUSE Haskell GitHub integration has been tried some time ago, it have proven to be too much of a burden to build against dynamic libraries from a dependency management standpoint for a larger Haskell applications such as cardano-node.

Additional context

Step (3) OBS/GitHub integration I've agreed with Adrian and Board that @m4r3k should open a new request in https://github.com/openSUSE/open-build-service/issues and describe what does that mean. Adrian was interested in the requirements for Secure Build Chain, commit signatures, etc more than in the monetary aspect.

https://code.opensuse.org/leap/features/issue/59

adrianschroeter commented 2 years ago

I am not sure it makes sense to have this as an OBS issue, since it may be more a content issue.

Or do you ask for support for a new build format here? (new build description and binary result handling)