debian-build-0.10.1.1: Debian package build sequence tools

Copyright2014-2015 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Debian.Package.Data.Hackage

Description

This module provides data types of hackage meta information.

Synopsis

Documentation

hackageVersionNumbers :: HackageVersion -> [Int] Source #

Extract hackage version numbers.

data Hackage Source #

Hackage name and version type with debian short name. e.g. src-ext.

Instances

hackageName :: Hackage -> String Source #

Get package name of Hackage

debianShortName :: Hackage -> String Source #

Get debian short name of Hackage

mkHackageDefault Source #

Arguments

:: NameRule

Rule flag to generate names

-> String

Hackage name string

-> HackageVersion

Version of hackage

-> Hackage

Result hackage meta info

Generate Hackage type from package name and version using NameRule

data NameRule Source #

Debian short name generate rule

Constructors

Suggest 
Simple 

debianNamesFromSourceName Source #

Arguments

:: NameRule

Rule flag to generate name

-> String

Debian source name or Hackage name string

-> (String, String)

Debian source package name and short name like ("haskell-src-exts", "src-exts")

Make debian short name from package name using NameRule

hackageLongName :: Hackage -> String Source #

Package name string with version

hackageArchiveName :: Hackage -> FilePath Source #

Package archive basename

hackageArchive :: Hackage -> FilePath Source #

Package archive pathname

ghcLibraryBinPackages :: Hackage -> [String] Source #

Debian library binary package names for GHC

ghcLibraryDocPackage :: Hackage -> String Source #

Debian library document package name for GHC

ghcLibraryPackages :: Hackage -> [String] Source #

Debian library package names for GHC