debian-build-0.1.0.0: Debian package build sequence tools

Portabilityportable
Stabilityexperimental
Maintainerex8k.hibino@gmail.com
Safe HaskellSafe-Inferred

Debian.Package.Data.Source

Description

This module provides data types of debian source package meta information.

Synopsis

Documentation

data DebianVersion Source

Version type for Debian

versionFromHackageVersion :: HackageVersion -> Maybe String -> DebianVersionSource

Make deebian version from hackage version

data Source Source

Debian source package type, name with version

Instances

sourceName :: Source -> StringSource

Source package name of Source

version :: Source -> DebianVersionSource

Debian version of Source

origVersion :: Source -> VersionSource

Version without debian revision

isNative :: Source -> BoolSource

Is debian-native or not

origArchiveName :: Source -> FilePathSource

Original source archive basename

nativeArchiveName :: Source -> StringSource

Debian native archive basename

sourceDirName :: Source -> FilePathSource

Source directory basename

parseChangeLogSource

Arguments

:: String

dpkg-parsechangelog result string

-> Maybe Source

Source structure

Try to generate Source from debian changelog string

data HaskellPackage Source

Debian source package type for Haskell

Instances

package :: HaskellPackage -> SourceSource

Debian source package meta-info of HaskellPackage

haskellPackageDefaultSource

Arguments

:: NameRule 
-> String

Hackage name string

-> HackageVersion

Version of hackage

-> Maybe String

Debian revision String

-> HaskellPackage

Result structure

Generate HaskellPackage type from debian package name and version using NameRule

haskellPackageFromPackageSource

Arguments

:: String

Hackage name string

-> Source

Debian package meta info

-> Either String HaskellPackage

Result

Generate HaskellPackage with hackage name and debian package meta-info