module Debian.Debianize.Details
( debianDefaultAtoms
) where
import Data.Version (Version(Version))
import Debian.Relation (Relation(Rel), BinPkgName(BinPkgName))
import Debian.Debianize.DebianName (mapCabal, splitCabal)
import Debian.Debianize.Types.Atoms as T (epochMap, execMap)
import Debian.Debianize.Monad (DebT)
import Debian.Debianize.Prelude ((++=))
import Debian.Debianize.VersionSplits (DebBase(DebBase))
import Distribution.Package (PackageName(PackageName))
debianDefaultAtoms :: Monad m => DebT m ()
debianDefaultAtoms =
do
T.epochMap ++= (PackageName "HaXml", 1)
T.epochMap ++= (PackageName "HTTP", 1)
T.execMap ++= ("hsx2hs", [[Rel (BinPkgName "hsx2hs") Nothing Nothing]])
mapCabal (PackageName "Cabal") (DebBase "cabal-ghcjs")
splitCabal (PackageName "Cabal") (DebBase "cabal") (Version [1,21] [])
mapCabal (PackageName "parsec") (DebBase "parsec3")
splitCabal (PackageName "parsec") (DebBase "parsec2") (Version [3] [])
mapCabal (PackageName "QuickCheck") (DebBase "quickcheck2")
splitCabal (PackageName "QuickCheck") (DebBase "quickcheck1") (Version [2] [])
mapCabal (PackageName "gtk2hs-buildtools") (DebBase "gtk2hs-buildtools")