| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HsDev.Tools.Cabal
Contents
- data CabalPackage = CabalPackage {}
- cabalList :: [String] -> ToolM [CabalPackage]
- data Version :: *
- data License :: *
- = GPL (Maybe Version)
- | AGPL (Maybe Version)
- | LGPL (Maybe Version)
- | BSD2
- | BSD3
- | BSD4
- | MIT
- | ISC
- | MPL Version
- | Apache (Maybe Version)
- | PublicDomain
- | AllRightsReserved
- | UnspecifiedLicense
- | OtherLicense
- | UnknownLicense String
Documentation
data CabalPackage Source #
Constructors
| CabalPackage | |
Reexports
A Version represents the version of a software entity.
Instances of Eq and Ord are provided, which gives exact
equality and lexicographic ordering of the version number
components (i.e. 2.1 > 2.0, 1.2.3 > 1.2.2, etc.).
This type is opaque and distinct from the Version type in
Data.Version since Cabal-2.0. The difference extends to the
Binary instance using a different (and more compact) encoding.
Since: 2.0.0.2
Indicates the license under which a package's source code is released.
Versions of the licenses not listed here will be rejected by Hackage and
cause cabal check to issue a warning.
Constructors
| GPL (Maybe Version) | |
| AGPL (Maybe Version) | |
| LGPL (Maybe Version) | GNU Lesser General Public License, version 2.1 or version 3. |
| BSD2 | |
| BSD3 | |
| BSD4 | 4-clause BSD license. This license has not been approved by the OSI and is incompatible with the GNU GPL. It is provided for historical reasons and should be avoided. |
| MIT | |
| ISC | |
| MPL Version | |
| Apache (Maybe Version) | |
| PublicDomain | The author of a package disclaims any copyright to its source code and dedicates it to the public domain. This is not a software license. Please note that it is not possible to dedicate works to the public domain in every jurisdiction, nor is a work that is in the public domain in one jurisdiction necessarily in the public domain elsewhere. |
| AllRightsReserved | Explicitly 'All Rights Reserved', eg for proprietary software. The package may not be legally modified or redistributed by anyone but the rightsholder. |
| UnspecifiedLicense | No license specified which legally defaults to 'All Rights Reserved'. The package may not be legally modified or redistributed by anyone but the rightsholder. |
| OtherLicense | Any other software license. |
| UnknownLicense String | Indicates an erroneous license name. |