|
| 1 | +cabal-version: 3.0 |
| 2 | + |
| 3 | +name: ntp-client |
| 4 | +version: 0.0.1.6 |
| 5 | +synopsis: NTP client |
| 6 | +description: NTP client. |
| 7 | +license: Apache-2.0 |
| 8 | +license-files: LICENSE |
| 9 | + NOTICE |
| 10 | +copyright: 2019-2023 Input Output Global Inc (IOG), 2023-2024 Intersect |
| 11 | + |
| 12 | +category: Network |
| 13 | +build-type: Simple |
| 14 | +extra-doc-files: README.md |
| 15 | + CHANGELOG.md |
| 16 | + |
| 17 | +flag demo |
| 18 | + description: Build a demo application |
| 19 | + default: True |
| 20 | + manual: True |
| 21 | + |
| 22 | +library |
| 23 | + exposed-modules: Network.NTP.Client |
| 24 | + other-modules: Network.NTP.Client.Packet |
| 25 | + Network.NTP.Client.Query |
| 26 | + build-depends: async >=2.2 && <2.3 |
| 27 | + , base >=4.14 && <4.22 |
| 28 | + , binary >=0.8 && <0.11 |
| 29 | + , bytestring >=0.10 && <0.13 |
| 30 | + , contra-tracer >=0.1 && <0.2 |
| 31 | + , network >= 3.1.2 && <3.3 |
| 32 | + , stm >=2.4 && <2.6 |
| 33 | + , time >=1.9.1 && <1.14 |
| 34 | + , Win32-network >=0.1 && <0.3 |
| 35 | + |
| 36 | + hs-source-dirs: src |
| 37 | + default-language: Haskell2010 |
| 38 | + default-extensions: ImportQualifiedPost |
| 39 | + ghc-options: -Wall |
| 40 | + -Wcompat |
| 41 | + -Wincomplete-uni-patterns |
| 42 | + -Wincomplete-record-updates |
| 43 | + -Wpartial-fields |
| 44 | + -Widentities |
| 45 | + -Wredundant-constraints |
| 46 | + -Wunused-packages |
| 47 | + default-extensions: GeneralizedNewtypeDeriving |
| 48 | + |
| 49 | +test-suite test |
| 50 | + hs-source-dirs: test, src |
| 51 | + main-is: Test.hs |
| 52 | + other-modules: Network.NTP.Client.Packet |
| 53 | + type: exitcode-stdio-1.0 |
| 54 | + build-depends: base >=4.14 && <4.22 |
| 55 | + , binary >=0.8 && <0.11 |
| 56 | + , time >=1.9.1 && <1.14 |
| 57 | + , QuickCheck |
| 58 | + , tasty |
| 59 | + , tasty-quickcheck |
| 60 | + default-language: Haskell2010 |
| 61 | + default-extensions: ImportQualifiedPost |
| 62 | + ghc-options: -Wall |
| 63 | + -Wunused-packages |
| 64 | + -threaded |
| 65 | + -rtsopts |
| 66 | + |
| 67 | +executable demo-ntp-client |
| 68 | + hs-source-dirs: demo |
| 69 | + main-is: Main.hs |
| 70 | + if flag(demo) |
| 71 | + buildable: True |
| 72 | + else |
| 73 | + buildable: False |
| 74 | + build-depends: async >=2.2 && <2.3 |
| 75 | + , base >=4.14 && <4.22 |
| 76 | + , contra-tracer >=0.1 && <0.2 |
| 77 | + , Win32-network >=0.1 && <0.3 |
| 78 | + , ntp-client |
| 79 | + default-language: Haskell2010 |
| 80 | + default-extensions: ImportQualifiedPost |
| 81 | + ghc-options: -Wall |
| 82 | + -threaded |
| 83 | + -Wunused-packages |
0 commit comments