2023-08-09 20:59:42 +02:00
|
|
|
cabal-version: 2.4
|
|
|
|
name: slackbuilder
|
2024-03-27 20:01:08 +01:00
|
|
|
version: 1.0
|
2023-08-04 21:33:21 +02:00
|
|
|
|
2023-12-23 22:15:10 +01:00
|
|
|
synopsis: Tool to automatically update Slackware build scripts.
|
2023-08-04 21:33:21 +02:00
|
|
|
bug-reports: https://git.caraus.tech/OSS/slackbuilder/issues
|
|
|
|
|
|
|
|
license: MPL-2.0
|
|
|
|
license-files: LICENSE
|
2024-03-27 20:01:08 +01:00
|
|
|
copyright: (c) 2023-2024 Eugen Wissner
|
2023-08-04 21:33:21 +02:00
|
|
|
|
|
|
|
author: Eugen Wissner
|
|
|
|
maintainer: belka@caraus.de
|
|
|
|
|
|
|
|
category: Build
|
2024-03-27 20:01:08 +01:00
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
README.md
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://git.caraus.tech/OSS/slackbuilder.git
|
2023-08-04 21:33:21 +02:00
|
|
|
|
2023-09-21 23:51:02 +02:00
|
|
|
common dependencies
|
|
|
|
build-depends:
|
2024-03-19 11:34:19 +01:00
|
|
|
aeson ^>= 2.2.0,
|
2023-11-07 19:36:40 +01:00
|
|
|
base >= 4.16 && < 5,
|
2023-10-03 18:53:41 +02:00
|
|
|
bytestring ^>= 0.11.0,
|
2024-01-24 14:34:58 +01:00
|
|
|
conduit ^>= 1.3.5,
|
2024-03-03 17:12:29 +01:00
|
|
|
conduit-extra ^>= 1.3,
|
2024-01-24 14:34:58 +01:00
|
|
|
http-client ^>= 0.7,
|
2023-11-01 17:05:16 +01:00
|
|
|
containers ^>= 0.6,
|
2023-09-22 07:33:02 +02:00
|
|
|
cryptonite >= 0.30,
|
2023-10-20 19:23:21 +02:00
|
|
|
directory ^>= 1.3.8,
|
2023-12-11 08:14:55 +01:00
|
|
|
exceptions >= 0.10,
|
2023-09-22 07:33:02 +02:00
|
|
|
filepath ^>= 1.4.2,
|
2024-03-27 20:01:08 +01:00
|
|
|
megaparsec ^>= 9.6,
|
2023-09-22 07:33:02 +02:00
|
|
|
modern-uri ^>= 0.3.6,
|
2023-10-03 18:53:41 +02:00
|
|
|
memory ^>= 0.18,
|
|
|
|
parser-combinators ^>= 1.3,
|
2023-10-08 12:28:46 +02:00
|
|
|
process ^>= 1.6.18,
|
2023-10-28 21:24:21 +02:00
|
|
|
req ^>= 3.13,
|
2024-01-24 14:34:58 +01:00
|
|
|
tar-conduit ^>= 0.4,
|
2024-08-08 11:03:02 +02:00
|
|
|
lzma ^>= 0.0.1,
|
2024-03-27 20:01:08 +01:00
|
|
|
text ^>= 2.1,
|
2023-09-25 10:18:00 +02:00
|
|
|
tomland ^>= 1.3.3,
|
2024-08-08 11:03:02 +02:00
|
|
|
transformers ^>= 0.6.1,
|
2024-03-27 20:01:08 +01:00
|
|
|
unordered-containers ^>= 0.2.20,
|
2024-03-19 11:34:19 +01:00
|
|
|
vector ^>= 0.13.0,
|
2023-10-04 22:36:19 +02:00
|
|
|
word8 ^>= 0.1.3
|
2024-03-27 20:01:08 +01:00
|
|
|
default-language: GHC2021
|
2023-09-03 10:26:43 +02:00
|
|
|
default-extensions:
|
|
|
|
DataKinds
|
|
|
|
DuplicateRecordFields
|
2023-10-03 18:53:41 +02:00
|
|
|
ExplicitForAll
|
2023-09-03 10:26:43 +02:00
|
|
|
LambdaCase
|
|
|
|
NamedFieldPuns
|
|
|
|
OverloadedStrings
|
|
|
|
RecordWildCards
|
|
|
|
QuasiQuotes
|
|
|
|
TemplateHaskell
|
2023-10-03 18:53:41 +02:00
|
|
|
TupleSections
|
2023-09-03 10:26:43 +02:00
|
|
|
TypeApplications
|
2023-09-22 07:33:02 +02:00
|
|
|
|
2023-09-25 10:18:00 +02:00
|
|
|
library
|
2023-09-22 07:33:02 +02:00
|
|
|
import: dependencies
|
|
|
|
exposed-modules:
|
|
|
|
SlackBuilder.Config
|
2023-10-28 21:24:21 +02:00
|
|
|
SlackBuilder.Download
|
2023-10-03 18:53:41 +02:00
|
|
|
SlackBuilder.Info
|
2024-03-19 11:34:19 +01:00
|
|
|
SlackBuilder.LatestVersionCheck
|
2023-09-22 07:33:02 +02:00
|
|
|
SlackBuilder.Package
|
|
|
|
SlackBuilder.Trans
|
|
|
|
hs-source-dirs: lib
|
2023-09-22 07:47:46 +02:00
|
|
|
ghc-options: -Wall
|
2024-08-08 11:03:02 +02:00
|
|
|
build-depends:
|
|
|
|
mono-traversable ^>= 1.0.17
|
2023-09-22 07:47:46 +02:00
|
|
|
|
2023-09-22 07:33:02 +02:00
|
|
|
executable slackbuilder
|
|
|
|
import: dependencies
|
|
|
|
main-is: Main.hs
|
|
|
|
|
|
|
|
other-modules:
|
|
|
|
SlackBuilder.CommandLine
|
2024-03-19 11:34:19 +01:00
|
|
|
SlackBuilder.Update
|
2023-09-03 10:26:43 +02:00
|
|
|
build-depends:
|
2024-03-27 20:01:08 +01:00
|
|
|
ansi-terminal ^>= 1.1,
|
2023-09-03 10:26:43 +02:00
|
|
|
optparse-applicative ^>= 0.18.1,
|
2024-03-19 11:34:19 +01:00
|
|
|
slackbuilder
|
2023-11-07 19:36:40 +01:00
|
|
|
hs-source-dirs: src
|
2023-09-03 10:26:43 +02:00
|
|
|
|
2023-09-22 07:47:46 +02:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
|
|
|
|
|
2023-09-03 10:26:43 +02:00
|
|
|
test-suite slackbuilder-test
|
2023-09-21 23:51:02 +02:00
|
|
|
import: dependencies
|
2023-09-03 10:26:43 +02:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
2023-09-21 23:51:02 +02:00
|
|
|
|
|
|
|
other-modules:
|
2023-10-03 18:53:41 +02:00
|
|
|
SlackBuilder.InfoSpec
|
2024-03-19 11:34:19 +01:00
|
|
|
SlackBuilder.LatestVersionCheckSpec
|
2023-09-21 23:51:02 +02:00
|
|
|
SlackBuilder.PackageSpec
|
2023-09-22 07:33:02 +02:00
|
|
|
hs-source-dirs: tests
|
2023-09-03 10:26:43 +02:00
|
|
|
build-depends:
|
2023-09-22 07:33:02 +02:00
|
|
|
hspec >= 2.10.9 && < 2.12,
|
2023-10-03 18:53:41 +02:00
|
|
|
hspec-megaparsec ^>= 2.2,
|
2023-09-25 10:18:00 +02:00
|
|
|
slackbuilder
|
2023-09-22 07:47:46 +02:00
|
|
|
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
|
2023-12-09 21:33:34 +01:00
|
|
|
build-tool-depends:
|
|
|
|
hspec-discover:hspec-discover
|