From 4b4fa61d945e49dc03b85333655539a72069e989 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 1 Sep 2023 18:25:31 +0000 Subject: [PATCH] Restyled by cabal-fmt --- toxcore-c.cabal | 109 ++++++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 59 deletions(-) diff --git a/toxcore-c.cabal b/toxcore-c.cabal index 920946b..9ddbb2f 100644 --- a/toxcore-c.cabal +++ b/toxcore-c.cabal @@ -1,60 +1,56 @@ -name: toxcore-c -synopsis: Haskell bindings to the C reference implementation of Tox -version: 0.2.12 -cabal-version: >= 1.10 -license: GPL-3 -license-file: LICENSE -build-type: Simple -author: iphy -maintainer: iphy -copyright: Copyright (c) 2016-2020 The TokTok Team -homepage: https://toktok.github.io -category: Network +name: toxcore-c +synopsis: Haskell bindings to the C reference implementation of Tox +version: 0.2.12 +cabal-version: >=1.10 +license: GPL-3 +license-file: LICENSE +build-type: Simple +author: iphy +maintainer: iphy +copyright: Copyright (c) 2016-2020 The TokTok Team +homepage: https://toktok.github.io +category: Network description: Haskell bindings to the C reference implementation of Tox. . See . source-repository head - type: git + type: git location: https://github.com/TokTok/hs-toxcore-c library default-language: Haskell2010 - hs-source-dirs: - src - ghc-options: - -Wall - extra-libraries: toxcore + hs-source-dirs: src + ghc-options: -Wall + extra-libraries: toxcore exposed-modules: - Network.Tox.C - Network.Tox.C.CEnum - Network.Tox.C.Constants - Network.Tox.C.Options - Network.Tox.C.Tox - Network.Tox.C.Type - Network.Tox.C.Version - Network.Tox.Types.Events + Network.Tox.C + Network.Tox.C.CEnum + Network.Tox.C.Constants + Network.Tox.C.Options + Network.Tox.C.Tox + Network.Tox.C.Type + Network.Tox.C.Version + Network.Tox.Types.Events + build-depends: - base < 5 - , QuickCheck + base <5 , bytestring - , generic-arbitrary < 2 - , msgpack-binary >= 0.0.16 + , generic-arbitrary <2 + , msgpack-binary >=0.0.16 + , QuickCheck , quickcheck-instances executable groupbot default-language: Haskell2010 - hs-source-dirs: - tools - ghc-options: - -Wall - -Wno-unused-imports - extra-libraries: toxcore - main-is: groupbot.hs + hs-source-dirs: tools + ghc-options: -Wall -Wno-unused-imports + extra-libraries: toxcore + main-is: groupbot.hs build-depends: - base < 5 - , base16-bytestring >= 1 + base <5 + , base16-bytestring >=1 , bytestring , directory , text @@ -62,41 +58,36 @@ executable groupbot executable gen-struct default-language: Haskell2010 - hs-source-dirs: - tools - ghc-options: - -Wall - -Wno-unused-imports - extra-libraries: toxcore - main-is: gen-struct.hs + hs-source-dirs: tools + ghc-options: -Wall -Wno-unused-imports + extra-libraries: toxcore + main-is: gen-struct.hs build-depends: - base < 5 + base <5 , bytestring , data-fix , groom - , schema >= 0.0.3 + , schema >=0.0.3 , toxcore-c test-suite testsuite default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: - test - ghc-options: - -Wall - -Wno-unused-imports - main-is: testsuite.hs + type: exitcode-stdio-1.0 + hs-source-dirs: test + ghc-options: -Wall -Wno-unused-imports + main-is: testsuite.hs other-modules: - Network.Tox.C.ToxSpec - Network.Tox.Types.EventsSpec + Network.Tox.C.ToxSpec + Network.Tox.Types.EventsSpec + build-depends: - base < 5 - , QuickCheck >= 2.9.1 + base <5 , base16-bytestring , bytestring , cryptohash , hspec , msgpack-binary + , QuickCheck >=2.9.1 , saltine , toxcore-c , vector