-
Notifications
You must be signed in to change notification settings - Fork 3
/
nix-graph.cabal
67 lines (61 loc) · 1.62 KB
/
nix-graph.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
cabal-version: 2.2
name: nix-graph
version: 1.0.2.0
synopsis: Reify the Nix build graph into a Haskell graph data structure
description: Reify the Nix build graph into a Haskell graph data structure
category: Nix, Graphs
author: Arista Networks <opensource@awakesecurity.com>
maintainer: Arista Networks <opensource@awakesecurity.com>
homepage: https://github.com/awakesecurity/nix-graph
license: BSD-3-Clause
copyright: 2022 Arista Networks
tested-with: GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4
license-file: LICENSE
extra-source-files:
CHANGELOG.md
LICENSE
README.md
common common
build-depends: base >= 4.12 && < 5.0
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Werror=incomplete-record-updates
-Werror=incomplete-uni-patterns
-Werror=missing-fields
-Werror=partial-fields
-Widentities
-Wmissing-home-modules
-Wredundant-constraints
-fshow-warning-groups
common executable
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
library
import: common
hs-source-dirs: src
build-depends:
, algebraic-graphs >= 0.5 && < 0.7
, attoparsec >= 0.13.1 && < 0.15
, containers
, hashable
, nix-derivation >= 1.1.0 && < 2.0
, stm >= 2.4.2
, text
, ttrie >= 0.1.2 && < 0.2
, unliftio >= 0.2.6 && < 0.3
, unordered-containers
exposed-modules:
Nix.Graph
Nix.Graph.Internal
executable nix-graph
import: common, executable
hs-source-dirs: app
main-is: Main.hs
build-depends:
, algebraic-graphs
, nix-graph
, optparse-applicative >= 0.14.0.0