How to get the cardano-wallet servant API and Client definitions as a package

Hi, I would like to interact with the cardano-walllet HTTP server using Haskell servant. Since the API and Client definitions already exist in the cardano-wallet-core project, it would be nice to simply add the cardano-wallet-core package as a dependency to my project, instead of rewriting or generating from Swagger. Unfortunately the default.nix doesn’t create a library output for cardano-wallet-core. What would be the best approach to get cardano-wallet-core as a build output?