Hello, On Thu, Sep 28 2017, Barak A. Pearlmutter wrote: > I write Haskell code, and would on occasion like to package a program > written in Haskell for Debian. But I'm not a Haskell ecosystem > maintainer, or anything like that. One thing that would make my life > easier would be a way to pass the stuff from the build-depends: of a > .cabal file and translate them into Debian libghc-xxx-dev packages. > I.e., something that takes a cabal package name and translates it into > a list of corresponding debian library development packages. > > Something on top of that which parses a .cabal file and generates that > list and slaps it into a ${misc:depends} in debian/control would be > even more fantastic! You might want to look at cabal-debian(1); I think it can do executables as well as libraries. For a fairly minimal d/rules, d/control etc. you might want to look at my package stylish-haskell. -- Sean Whitton
Attachment:
signature.asc
Description: PGP signature