-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernise the cabal file and release as 0.3.0.1
Otherwise, this cannot be uploaded to Hackage :(
- Loading branch information
Showing
2 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
cabal-version: 1.18 | ||
-- prefix-units.cabal auto-generated by cabal init. For additional | ||
-- options, see | ||
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. | ||
-- The name of the package. | ||
Name: prefix-units | ||
name: prefix-units | ||
|
||
-- The package version. See the Haskell package versioning policy | ||
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for | ||
-- standards guiding when and how versions should be incremented. | ||
Version: 0.3.0 | ||
version: 0.3.0.1 | ||
|
||
-- A short (one-line) description of the package. | ||
Synopsis: A basic library for SI/IEC prefix units | ||
synopsis: A basic library for SI/IEC prefix units | ||
|
||
-- A longer description of the package. | ||
Description: | ||
description: | ||
This library deals with parsing values containing \"prefix units\" | ||
(both IEC\/binary and SI). For example, it can parse 10M and 1G, | ||
and it can also format values for displaying with the \"optimal\" | ||
|
@@ -24,64 +25,73 @@ Description: | |
<http://physics.nist.gov/cuu/Units/binary.html>. | ||
|
||
-- URL for the project homepage or repository. | ||
Homepage: https://github.com/iustin/prefix-units | ||
homepage: https://github.com/iustin/prefix-units | ||
|
||
-- The license under which the package is released. | ||
License: BSD3 | ||
license: BSD3 | ||
|
||
-- The file containing the license text. | ||
License-file: LICENSE | ||
license-file: LICENSE | ||
|
||
-- The package author(s). | ||
Author: Iustin Pop <[email protected]> | ||
author: Iustin Pop <[email protected]> | ||
|
||
-- An email address to which users can send suggestions, bug reports, | ||
-- and patches. | ||
Maintainer: Iustin Pop <[email protected]> | ||
maintainer: Iustin Pop <[email protected]> | ||
|
||
-- A copyright notice. | ||
Copyright: (c) 2012, 2014, 2015 Google Inc. | ||
copyright: (c) 2012, 2014, 2015 Google Inc. | ||
|
||
Category: Data | ||
category: Data | ||
|
||
-- Stability field. | ||
Stability: alpha | ||
stability: stable | ||
|
||
Bug-reports: https://github.com/iustin/prefix-units/issues | ||
bug-reports: https://github.com/iustin/prefix-units/issues | ||
|
||
Build-type: Simple | ||
build-type: Simple | ||
|
||
-- Extra files to be distributed with the package, such as examples or | ||
-- a README. | ||
Extra-source-files: README.md CHANGES.md Makefile example.hs | ||
|
||
-- Constraint on the version of Cabal needed to build this package. | ||
Cabal-version: >= 1.8.0.2 | ||
|
||
Tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.2, GHC==8.0.2, GHC==8.2.2 | ||
|
||
Source-repository head | ||
extra-source-files: README.md CHANGES.md Makefile example.hs | ||
|
||
tested-with: GHC==8.0.2 | ||
, GHC==8.2.2 | ||
, GHC==8.4 | ||
, GHC==8.6 | ||
, GHC==8.8 | ||
, GHC==8.10 | ||
, GHC==9.0 | ||
, GHC==9.2 | ||
, GHC==9.4 | ||
, GHC==9.6 | ||
|
||
source-repository head | ||
Type: git | ||
Location: https://github.com/iustin/prefix-units.git | ||
|
||
Source-repository this | ||
source-repository this | ||
Type: git | ||
Location: https://github.com/iustin/prefix-units.git | ||
Tag: prefix-units-v0.2.0 | ||
|
||
Library | ||
library | ||
-- Modules exported by the library. | ||
Exposed-modules: Data.Prefix.Units | ||
exposed-modules: Data.Prefix.Units | ||
|
||
-- Packages needed in order to build this package. | ||
Build-depends: base >= 3 && < 5 | ||
build-depends: base >= 3 && < 5 | ||
|
||
-- Modules not exported by this package. | ||
Other-modules: Data.Prefix.Units.Compat | ||
other-modules: Data.Prefix.Units.Compat | ||
|
||
GHC-Options: -Wall | ||
ghc-options: -Wall | ||
|
||
Extensions: Safe | ||
default-language: Haskell2010 | ||
|
||
default-extensions: | ||
Safe | ||
TypeSynonymInstances | ||
FlexibleInstances | ||
|
||
|
@@ -102,5 +112,8 @@ Test-Suite test-units | |
, deepseq >= 1.4.0.0 | ||
, prefix-units | ||
ghc-options: -Wall -fno-warn-orphans | ||
Extensions: CPP | ||
default-extensions: | ||
CPP | ||
ScopedTypeVariables | ||
|
||
default-language: Haskell2010 |