|
1 | | -name: hackage-db |
2 | | -version: 2.0.1 |
3 | | -license: BSD3 |
4 | | -license-file: LICENSE |
5 | | -author: Peter Simons, Alexander Altman, Ben James |
6 | | -maintainer: Peter Simons < [email protected]> |
7 | | -homepage: https://github.com/peti/hackage-db#readme |
8 | | -bug-reports: https://github.com/peti/hackage-db/issues |
9 | | -category: Distribution |
10 | | -synopsis: Access cabal-install's Hackage database via Data.Map |
11 | | -cabal-version: >= 1.10 |
12 | | -build-type: Simple |
13 | | -tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2 |
14 | | - , GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.3 |
15 | | - |
16 | | -description: |
17 | | - This library provides convenient access to the local copy of the Hackage |
18 | | - database that "cabal update" creates. Check out |
19 | | - https://github.com/peti/hackage-db/tree/master/example/ for a collection of |
20 | | - simple example programs that demonstrate how to use this code. |
| 1 | +name: hackage-db |
| 2 | +version: 2.0.1 |
| 3 | +synopsis: Access cabal-install's Hackage database via Data.Map |
| 4 | +description: This library provides convenient access to the local copy of the Hackage |
| 5 | + database that \"cabal update\" creates. Check out |
| 6 | + https:\//github.com/peti/hackage-db/tree/master/example\/ for a collection |
| 7 | + of simple example programs that demonstrate how to use this code. |
| 8 | +license: BSD3 |
| 9 | +license-file: LICENSE |
| 10 | +author: Peter Simons, Alexander Altman, Ben James |
| 11 | +maintainer: Peter Simons < [email protected]> |
| 12 | +tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, |
| 13 | + GHC == 8.4.4, GHC == 8.6.3 |
| 14 | +category: Distribution |
| 15 | +homepage: https://github.com/peti/hackage-db#readme |
| 16 | +bug-reports: https://github.com/peti/hackage-db/issues |
| 17 | +build-type: Simple |
| 18 | +cabal-version: >= 1.10 |
21 | 19 |
|
22 | 20 | source-repository head |
23 | | - type: git |
| 21 | + type: git |
24 | 22 | location: git://github.com/peti/hackage-db.git |
25 | 23 |
|
26 | 24 | flag install-examples |
27 | | - description: Build and install example programs. |
28 | | - default: False |
| 25 | + default: False |
| 26 | + description: Build and install example programs. |
29 | 27 |
|
30 | 28 | library |
31 | | - hs-source-dirs: |
32 | | - src |
33 | | - other-extensions: DeriveDataTypeable DeriveGeneric |
34 | | - build-depends: |
35 | | - base >= 3 && < 5 |
36 | | - , Cabal >2.2 |
37 | | - , containers |
38 | | - , aeson |
39 | | - , bytestring |
40 | | - , directory |
41 | | - , filepath |
42 | | - , tar >= 0.4 |
43 | | - , time |
44 | | - , utf8-string |
45 | | - exposed-modules: |
46 | | - Distribution.Hackage.DB |
47 | | - Distribution.Hackage.DB.Errors |
48 | | - Distribution.Hackage.DB.MetaData |
49 | | - Distribution.Hackage.DB.Parsed |
50 | | - Distribution.Hackage.DB.Path |
51 | | - Distribution.Hackage.DB.Unparsed |
52 | | - Distribution.Hackage.DB.Utility |
53 | | - other-modules: |
54 | | - Paths_hackage_db |
| 29 | + exposed-modules: Distribution.Hackage.DB |
| 30 | + Distribution.Hackage.DB.Errors |
| 31 | + Distribution.Hackage.DB.MetaData |
| 32 | + Distribution.Hackage.DB.Parsed |
| 33 | + Distribution.Hackage.DB.Path |
| 34 | + Distribution.Hackage.DB.Unparsed |
| 35 | + Distribution.Hackage.DB.Utility |
| 36 | + other-modules: Paths_hackage_db |
| 37 | + hs-source-dirs: src |
| 38 | + build-depends: base >= 3 && < 5 |
| 39 | + , Cabal > 2.2 |
| 40 | + , aeson |
| 41 | + , bytestring |
| 42 | + , containers |
| 43 | + , directory |
| 44 | + , filepath |
| 45 | + , tar >= 0.4 |
| 46 | + , time |
| 47 | + , utf8-string |
55 | 48 | default-language: Haskell2010 |
| 49 | + other-extensions: DeriveDataTypeable |
| 50 | + DeriveGeneric |
56 | 51 |
|
57 | 52 | executable list-known-versions |
58 | | - main-is: list-known-versions.hs |
59 | | - hs-source-dirs: example |
| 53 | + main-is: list-known-versions.hs |
| 54 | + hs-source-dirs: example |
| 55 | + default-language: Haskell2010 |
| 56 | + |
60 | 57 | if flag(install-examples) |
61 | | - buildable: True |
62 | | - build-depends: |
63 | | - base >= 3 && < 5 |
64 | | - , Cabal |
65 | | - , containers |
66 | | - , hackage-db |
67 | | - , bytestring |
| 58 | + build-depends: base >= 3 && < 5, Cabal, bytestring, containers, hackage-db |
68 | 59 | else |
69 | | - buildable: False |
70 | | - default-language: Haskell2010 |
| 60 | + buildable: False |
71 | 61 |
|
72 | 62 | executable show-meta-data |
73 | | - main-is: show-meta-data.hs |
74 | | - hs-source-dirs: |
75 | | - example |
| 63 | + main-is: show-meta-data.hs |
| 64 | + hs-source-dirs: example |
| 65 | + default-language: Haskell2010 |
| 66 | + |
76 | 67 | if flag(install-examples) |
77 | | - buildable: True |
78 | | - build-depends: |
79 | | - base >= 3 && < 5 |
80 | | - , Cabal |
81 | | - , containers |
82 | | - , hackage-db |
83 | | - , utf8-string |
| 68 | + build-depends: base >= 3 && < 5, Cabal, containers, hackage-db, utf8-string |
84 | 69 | else |
85 | | - buildable: False |
86 | | - default-language: Haskell2010 |
| 70 | + buildable: False |
87 | 71 |
|
88 | 72 | executable show-package-versions |
89 | | - main-is: show-package-versions.hs |
90 | | - hs-source-dirs: |
91 | | - example |
| 73 | + main-is: show-package-versions.hs |
| 74 | + hs-source-dirs: example |
| 75 | + default-language: Haskell2010 |
92 | 76 | other-extensions: CPP |
| 77 | + |
93 | 78 | if flag(install-examples) |
94 | | - buildable: True |
95 | | - build-depends: |
96 | | - base >= 3 && < 5 |
97 | | - , Cabal |
98 | | - , containers |
99 | | - , hackage-db |
| 79 | + build-depends: base >= 3 && < 5, Cabal, containers, hackage-db |
100 | 80 | else |
101 | | - buildable: False |
102 | | - default-language: Haskell2010 |
| 81 | + buildable: False |
0 commit comments