-
Notifications
You must be signed in to change notification settings - Fork 16
/
nvfetcher.cabal
133 lines (116 loc) · 3.17 KB
/
nvfetcher.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
cabal-version: 2.4
name: nvfetcher
version: 0.7.0.0
synopsis:
Generate nix sources expr for the latest version of packages
description:
Please see [README](https://github.com/berberman/nvfetcher/blob/master/README.md)
homepage: https://github.com/berberman/nvfetcher
bug-reports: https://github.com/berberman/nvfetcher/issues
license: MIT
license-file: LICENSE
author: berberman
maintainer: berberman <berberman.yandex.com>
copyright: 2021-2023 berberman
category: Nix
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/berberman/nvfetcher.git
common common-options
build-depends:
, aeson >=1.5.6 && <2.3
, aeson-pretty
, base >=4.8 && <5
, binary
, binary-instances ^>=1.0
, bytestring
, containers
, data-default ^>=0.7.1
, extra ^>=1.7
, free >=5.1 && <5.3
, microlens
, microlens-th
, neat-interpolation ^>=0.5.1
, optparse-simple ^>=0.1.1
, parsec
, prettyprinter
, regex-tdfa ^>=1.3.1
, shake ^>=0.19
, text
, toml-reader ^>=0.2
, transformers
, unordered-containers
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-fhide-source-paths -Wno-name-shadowing
-Wno-unticked-promoted-constructors
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
other-modules: NvFetcher.Utils
exposed-modules:
NvFetcher
NvFetcher.Config
NvFetcher.Core
NvFetcher.ExtractSrc
NvFetcher.FetchRustGitDeps
NvFetcher.GetGitCommitDate
NvFetcher.NixExpr
NvFetcher.NixFetcher
NvFetcher.Nvchecker
NvFetcher.Options
NvFetcher.PackageSet
NvFetcher.Types
NvFetcher.Types.Lens
NvFetcher.Types.ShakeExtras
other-modules: Paths_nvfetcher
autogen-modules: Paths_nvfetcher
executable nvfetcher
import: common-options
hs-source-dirs: app
main-is: Main.hs
other-modules:
Config
Config.Common
Config.PackageFetcher
Config.VersionSource
build-depends: nvfetcher
ghc-options: -threaded -rtsopts -with-rtsopts=-N
flag build-example
description: Build example executable
manual: True
default: False
executable example
import: common-options
if !flag(build-example)
buildable: False
main-is: Main_example.hs
build-depends: nvfetcher
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite tests
import: common-options
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
CheckVersionSpec
FetchRustGitDepsSpec
GetGitCommitDateSpec
NixExprSpec
PrefetchSpec
Utils
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
, async
, hspec
, nvfetcher
, stm
, unliftio
build-tool-depends: hspec-discover:hspec-discover
default-language: Haskell2010