-
Notifications
You must be signed in to change notification settings - Fork 23
/
hnix-store-nar.cabal
117 lines (113 loc) · 2.48 KB
/
hnix-store-nar.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
cabal-version: 2.2
name: hnix-store-nar
version: 0.1.1.0
synopsis: NAR file format
description:
Packing and unpacking for NAR file format used by Nix.
homepage: https://github.com/haskell-nix/hnix-store
license: Apache-2.0
license-file: LICENSE
author: Shea Levy
maintainer: [email protected]
copyright: 2018 Shea Levy
category: Nix
build-type: Simple
extra-doc-files:
CHANGELOG.md
extra-source-files:
README.md
, tests/fixtures/case-conflict.nar
flag bounded_memory
description: Run tests of constant memory use (requires +RTS -T)
default: False
manual: True
common commons
ghc-options: -Wall
default-extensions:
ConstraintKinds
, DataKinds
, DeriveGeneric
, DeriveDataTypeable
, DeriveFunctor
, DeriveFoldable
, DeriveTraversable
, DeriveLift
, DerivingStrategies
, DerivingVia
, ExistentialQuantification
, FlexibleContexts
, FlexibleInstances
, GADTs
, StandaloneDeriving
, ScopedTypeVariables
, StandaloneDeriving
, RecordWildCards
, TypeApplications
, TypeFamilies
, TypeOperators
, TypeSynonymInstances
, InstanceSigs
, KindSignatures
, MultiParamTypeClasses
, MultiWayIf
, TupleSections
, LambdaCase
, BangPatterns
, ViewPatterns
default-language: Haskell2010
library
import: commons
exposed-modules:
System.Nix.Nar
, System.Nix.Nar.Parser
, System.Nix.Nar.Streamer
, System.Nix.Nar.Effects
, System.Nix.Nar.Options
build-depends:
base >=4.12 && <5
, algebraic-graphs >= 0.5 && < 0.8
, bytestring
, case-insensitive
, cereal
, containers
, directory
, filepath
, lifted-base
, monad-control
, mtl
, text
, unix
, unordered-containers
hs-source-dirs: src
test-suite nar
import: commons
if flag(bounded_memory)
cpp-options: -DBOUNDED_MEMORY
ghc-options: -rtsopts -fprof-auto "-with-rtsopts -T"
type: exitcode-stdio-1.0
main-is: Driver.hs
other-modules:
NarFormat
hs-source-dirs:
tests
build-tool-depends:
tasty-discover:tasty-discover
build-depends:
base
, cryptonite
, hnix-store-nar
, base64-bytestring
, cereal
, bytestring
, containers
, directory
, filepath
, hspec
, process
, temporary
, tasty
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, text
, unix