cabal-debian-3.4: Create a debianization for a cabal package

Safe HaskellNone




data VersionSplits Source

Describes a mapping from cabal package name and version to debian package names. For example, versions of the cabal QuickCheck package less than 2 are mapped to quickcheck1, while version 2 or greater is mapped to quickcheck2.

insertSplit :: Version -> String -> VersionSplits -> VersionSplitsSource

Split the version range and give the older packages a new name.

knownVersionSplits :: Map PackageName VersionSplitsSource

These are the instances of debian names changing that I know about. I know they really shouldn't be hard coded. Send a patch. Note that this inherits the lack of type safety of the mkPkgName function.