This repository has been archived by the owner on Dec 24, 2020. It is now read-only.
forked from NixOS/cabal2nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcabal2nix.cabal
148 lines (143 loc) · 6.24 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
name: cabal2nix
version: 2.15.5
synopsis: Convert Cabal files into Nix build instructions.
description:
Convert Cabal files into Nix build instructions. Users of Nix can install the latest
version by running:
.
> nix-env -i cabal2nix
license: BSD3
license-file: LICENSE
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 <[email protected]>
stability: stable
tested-with: GHC == 8.8.3, GHC == 8.10.1
category: Distribution, Nix
homepage: https://github.com/nixos/cabal2nix#readme
bug-reports: https://github.com/nixos/cabal2nix/issues
build-type: Simple
extra-source-files: README.md
test/golden-test-cases/*.cabal
test/golden-test-cases/*.nix.golden
cabal-version: 1.24
source-repository head
type: git
location: https://github.com/nixos/cabal2nix
library
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
hs-source-dirs: src
build-depends: base > 4.11
-- When changing the Cabal version, ensure that it builds
-- with all installation methods mentioned in the README!
, Cabal >= 3.0
, aeson > 1
, ansi-wl-pprint
, bytestring
, containers >= 0.5.9
, deepseq >= 1.4
, directory
, distribution-nixpkgs >= 1.3.1
, filepath
, hackage-db >= 2.0.1
, hopenssl >= 2
, hpack >= 0.29.6
, language-nix
, lens
, optparse-applicative
, pretty >= 1.1.2
, process
, split
, text
, time
, transformers
, yaml
default-language: Haskell2010
other-extensions: MultiParamTypeClasses
ScopedTypeVariables
FlexibleInstances
CPP
TemplateHaskell
StandaloneDeriving
RecordWildCards
OverloadedStrings
DeriveGeneric
executable cabal2nix
main-is: Main.hs
hs-source-dirs: cabal2nix
build-depends: base, cabal2nix
default-language: Haskell2010
executable hackage2nix
main-is: Main.hs
other-modules: HackageGit
Paths_cabal2nix
hs-source-dirs: hackage2nix
build-depends: base < 5
, Cabal
, aeson
, bytestring
, cabal2nix
, containers
, directory
, distribution-nixpkgs >= 1.2
, filepath
, hopenssl >= 2
, language-nix
, lens
, monad-par
, monad-par-extras
, mtl
, optparse-applicative
, pretty >= 1.1.2
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-maxN16
test-suite regression-test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends: base
, Cabal
, cabal2nix
, containers
, directory
, filepath
, language-nix
, lens
, pretty
, process > 1.2
, tasty
, tasty-golden
default-language: Haskell2010
build-tools: cabal2nix
ghc-options: -threaded -with-rtsopts=-K64K