forked from Gabriella439/Haskell-Nix-Derivation-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nix-derivation.cabal
97 lines (91 loc) · 3.05 KB
/
nix-derivation.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
Name: nix-derivation
Version: 1.0.2
Cabal-Version: >=1.10
Build-Type: Simple
Tested-With: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2
License: BSD3
License-File: LICENSE
Copyright: 2017 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: [email protected]
Bug-Reports: https://github.com/Gabriel439/Haskell-Nix-Derivation-Library/issues
Synopsis: Parse and render *.drv files
Description:
Use this package to parse and render Nix derivation files (i.e. *.drv files)
.
This package also provides a @pretty-derivation@ executable which reads a
derivation on standard input and outputs the pretty-printed Haskell
representation on standard output
Category: System
Extra-Source-Files:
tests/example0.drv
tests/example1.drv
Source-Repository head
Type: git
Location: https://github.com/Gabriel439/Haskell-Nix-Derivation-Library
Library
Default-Language: Haskell2010
Hs-Source-Dirs: src
Build-Depends:
base >= 4.6.0.0 && < 5 ,
attoparsec >= 0.12.0.0 && < 0.14,
containers < 0.7 ,
deepseq >= 1.4.0.0 && < 1.5 ,
system-filepath >= 0.3.1 && < 0.5 ,
text >= 0.8.0.0 && < 1.3 ,
vector < 0.13
Exposed-Modules:
Nix.Derivation
Other-Modules:
Nix.Derivation.Builder,
Nix.Derivation.Parser,
Nix.Derivation.Types
GHC-Options: -Wall
Executable pretty-derivation
Default-Language: Haskell2010
Hs-Source-Dirs: pretty-derivation
Build-Depends:
base >= 4.6.0.0 && < 5 ,
attoparsec >= 0.12.0.0 && < 0.14,
pretty-show >= 1.6.11 && < 1.10,
text >= 0.8.0.0 && < 1.3 ,
nix-derivation
GHC-Options: -Wall
Main-Is: Main.hs
Test-Suite example
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
Hs-Source-Dirs: tests
Main-Is: Example.hs
GHC-Options: -Wall
Build-Depends:
base >= 4.6.0.0 && < 5 ,
attoparsec >= 0.12.0.0 && < 0.14,
nix-derivation ,
text >= 0.8.0.0 && < 1.3
Test-Suite property
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
Hs-Source-Dirs: tests
Main-Is: Property.hs
GHC-Options: -Wall
Build-Depends:
base >= 4.6.0.0 && < 5 ,
attoparsec >= 0.12.0.0 && < 0.14,
nix-derivation ,
QuickCheck < 2.13,
system-filepath >= 0.3.1 && < 0.5 ,
text >= 0.8.0.0 && < 1.3 ,
vector < 0.13
Benchmark benchmark
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
HS-Source-Dirs: bench
Main-Is: Main.hs
GHC-Options: -Wall
Build-Depends:
base >= 4.6.0.0 && < 5 ,
attoparsec >= 0.12.0.0 && < 0.14,
criterion >= 1.1.4.0 && < 1.6 ,
nix-derivation ,
text >= 0.8.0.0 && < 1.3