slackbuilder/slackbuilder.cabal

87 lines
1.8 KiB
Plaintext
Raw Normal View History

2023-08-09 20:59:42 +02:00
cabal-version: 2.4
name: slackbuilder
2023-09-03 10:26:43 +02:00
version: 1.0.0
2023-08-09 20:59:42 +02:00
synopsis: Slackware build scripts and configuration files.
bug-reports: https://git.caraus.tech/OSS/slackbuilder/issues
license: MPL-2.0
license-files: LICENSE
copyright: (c) 2023 Eugen Wissner
author: Eugen Wissner
maintainer: belka@caraus.de
category: Build
extra-source-files: CHANGELOG.md
common dependencies
build-depends:
base ^>= 4.16.4.0,
cryptonite >= 0.30,
filepath ^>= 1.4.2,
modern-uri ^>= 0.3.6,
text ^>= 2.0,
tomland ^>= 1.3.3,
transformers ^>= 0.5.6
default-language: Haskell2010
2023-09-03 10:26:43 +02:00
default-extensions:
DataKinds
DuplicateRecordFields
LambdaCase
NamedFieldPuns
OverloadedStrings
RecordWildCards
QuasiQuotes
TemplateHaskell
TypeApplications
library
import: dependencies
exposed-modules:
SlackBuilder.Config
SlackBuilder.Package
SlackBuilder.Trans
hs-source-dirs: lib
build-depends:
exceptions >= 0.10
ghc-options: -Wall
executable slackbuilder
import: dependencies
main-is: Main.hs
other-modules:
SlackBuilder.CommandLine
SlackBuilder.Download
SlackBuilder.Updater
2023-09-03 10:26:43 +02:00
build-depends:
aeson ^>= 2.2.0,
bytestring ^>= 0.11.0,
conduit ^>= 1.3.5,
http-client ^>= 0.7,
optparse-applicative ^>= 0.18.1,
process ^>= 1.6.17,
req ^>= 3.13,
slackbuilder,
2023-09-03 10:26:43 +02:00
unordered-containers ^>= 0.2.19,
vector ^>= 0.13.0
hs-source-dirs: app
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
2023-09-03 10:26:43 +02:00
test-suite slackbuilder-test
import: dependencies
2023-09-03 10:26:43 +02:00
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
SlackBuilder.PackageSpec
hs-source-dirs: tests
2023-09-03 10:26:43 +02:00
build-depends:
hspec >= 2.10.9 && < 2.12,
slackbuilder
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall