forked from NixOS/cabal2nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabal2nix.cabal
193 lines (186 loc) · 5.43 KB
/
cabal2nix.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
name: cabal2nix
version: 2.9.2
synopsis: Convert Cabal files into Nix build instructions.
category: Distribution, Nix
stability: stable
homepage: https://github.com/nixos/cabal2nix#readme
bug-reports: https://github.com/nixos/cabal2nix/issues
author: Peter Simons,
Andres Loeh,
Benno Fünfstück,
Mateusz Kowalczyk,
Michael Alan Dorman,
Tom Smalley,
Mathijs Kwik,
Shea Levy,
Dmitry Malikov,
Eric Seidel,
Jacob Mitchell,
Graham Christensen,
Hamish Mackenzie,
Nikolay Amiantov,
Aycan iRiCAN,
Bryan Gardiner,
Joe Hermaszewski,
John Wiegley,
Philipp Hausmann,
Spencer Janssen,
Tom Hunger,
William Casarin,
koral,
ksaric,
Adam Vogt,
Alexey Shmalko,
Corey O'Connor,
Cray Elliott,
David Johnson,
Dmitry Bushev,
Domen Kožar,
Felix Kunzmann,
Gabriel Ebner,
Gergely Risko,
Joachim Fasting,
John Albietz,
John Chee,
Jussi Maki,
Lisanna Dettwyler,
Mark Laws,
Mark Wotton,
Matthew Pickering,
Matthew Stewart,
Matvey Aksenov,
Nicholas Clarke,
Nicolas Rolland,
Oliver Charles,
Pascal Wittmann,
Patrick John Wheeler,
Phil de Joux,
Piotr Bogdan,
Profpatsch,
Raymond Gauthier,
Renzo Carbonara,
Rodney Lorrimar,
Sibi,
Sukant Hajra,
Tanner Doshier,
Vaibhav Sagar,
Viktar Basharymau,
danbst,
karsten gebbert,
laMudri,
Александр Цамутали
maintainer: Peter Simons <simons@cryp.to>
license: BSD3
license-file: LICENSE
tested-with: GHC == 8.2.2, GHC == 8.4.1
build-type: Simple
cabal-version: 1.24
description:
Convert Cabal files into Nix build instructions. Users of Nix can install the
latest version by running:
.
> nix-env -i cabal2nix
extra-source-files:
README.md
test/golden-test-cases/*.cabal
test/golden-test-cases/*.nix.golden
source-repository head
type: git
location: https://github.com/nixos/cabal2nix
library
hs-source-dirs:
src
other-extensions: CPP DeriveGeneric FlexibleInstances MultiParamTypeClasses OverloadedStrings RecordWildCards ScopedTypeVariables StandaloneDeriving TemplateHaskell
ghc-options: -Wall
build-depends:
Cabal >2.2
, aeson
, ansi-wl-pprint
, base <5
, bytestring
, containers
, deepseq >=1.4
, directory
, distribution-nixpkgs >=1.1.1
, filepath
, hackage-db >=2.0.1
, hopenssl >=2
, hpack >= 0.26
, language-nix
, lens
, optparse-applicative
, pretty >=1.1.2
, process
, split
, text
, time
, transformers
, yaml
exposed-modules:
Cabal2nix
Distribution.Nixpkgs.Fetch
Distribution.Nixpkgs.Haskell
Distribution.Nixpkgs.Haskell.BuildInfo
Distribution.Nixpkgs.Haskell.Constraint
Distribution.Nixpkgs.Haskell.Derivation
Distribution.Nixpkgs.Haskell.FromCabal
Distribution.Nixpkgs.Haskell.FromCabal.Configuration
Distribution.Nixpkgs.Haskell.FromCabal.Flags
Distribution.Nixpkgs.Haskell.FromCabal.License
Distribution.Nixpkgs.Haskell.FromCabal.Name
Distribution.Nixpkgs.Haskell.FromCabal.Normalize
Distribution.Nixpkgs.Haskell.FromCabal.PostProcess
Distribution.Nixpkgs.Haskell.Hackage
Distribution.Nixpkgs.Haskell.OrphanInstances
Distribution.Nixpkgs.Haskell.PackageSourceSpec
other-modules:
Paths_cabal2nix
default-language: Haskell2010
executable cabal2nix
main-is: Main.hs
hs-source-dirs: cabal2nix
ghc-options: -Wall
build-depends: base, cabal2nix
default-language: Haskell2010
executable hackage2nix
main-is: Main.hs
hs-source-dirs: hackage2nix
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
Cabal >2.2
, aeson
, base <5
, bytestring
, cabal2nix
, containers
, directory
, distribution-nixpkgs >=1.1.1
, filepath
, hopenssl >=2
, language-nix
, lens
, monad-par
, monad-par-extras
, mtl
, optparse-applicative
, pretty >=1.1.2
other-modules:
Paths_cabal2nix
HackageGit
default-language: Haskell2010
test-suite regression-test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends: base
, Cabal >2.2
, cabal2nix
, filepath
, language-nix
, lens
, pretty
, tasty
, tasty-golden
-- TODO: Why does 1K not work any longer?
ghc-options: -Wall -with-rtsopts=-K48K
default-language: Haskell2010