slackbuilder/slackbuilder.cabal
Eugen Wissner 45472a9088
Some checks failed
Build / audit (push) Successful in 15m45s
Build / test (push) Failing after 6m19s
Get the checksum after repackaging
2024-01-24 14:34:58 +01:00

101 lines
2.1 KiB
Plaintext

cabal-version: 2.4
name: slackbuilder
version: 1.0.0
synopsis: Tool to automatically update Slackware build scripts.
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 && < 5,
bytestring ^>= 0.11.0,
conduit ^>= 1.3.5,
http-client ^>= 0.7,
containers ^>= 0.6,
cryptonite >= 0.30,
directory ^>= 1.3.8,
exceptions >= 0.10,
filepath ^>= 1.4.2,
megaparsec ^>= 9.5,
modern-uri ^>= 0.3.6,
memory ^>= 0.18,
parser-combinators ^>= 1.3,
process ^>= 1.6.18,
req ^>= 3.13,
tar-conduit ^>= 0.4,
lzma-conduit ^>= 1.2,
text ^>= 2.0,
tomland ^>= 1.3.3,
transformers ^>= 0.5.6,
word8 ^>= 0.1.3
default-language: Haskell2010
default-extensions:
DataKinds
DuplicateRecordFields
ExplicitForAll
LambdaCase
NamedFieldPuns
OverloadedStrings
RecordWildCards
QuasiQuotes
TemplateHaskell
TupleSections
TypeApplications
library
import: dependencies
exposed-modules:
SlackBuilder.Config
SlackBuilder.Download
SlackBuilder.Info
SlackBuilder.Package
SlackBuilder.Trans
hs-source-dirs: lib
ghc-options: -Wall
executable slackbuilder
import: dependencies
main-is: Main.hs
other-modules:
SlackBuilder.CommandLine
SlackBuilder.LatestVersionCheck
build-depends:
aeson ^>= 2.2.0,
ansi-terminal ^>= 1.0,
optparse-applicative ^>= 0.18.1,
slackbuilder,
unordered-containers ^>= 0.2.19,
vector ^>= 0.13.0
hs-source-dirs: src
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
test-suite slackbuilder-test
import: dependencies
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
SlackBuilder.InfoSpec
SlackBuilder.PackageSpec
hs-source-dirs: tests
build-depends:
hspec >= 2.10.9 && < 2.12,
hspec-megaparsec ^>= 2.2,
slackbuilder
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-tool-depends:
hspec-discover:hspec-discover