cabal-version: 2.4 name: package-version version: 0.4 license: BSD-3-Clause license-file: LICENSE tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1 copyright: 2021-2024 Thomas Bidne author: Thomas Bidne maintainer: tbidne@protonmail.com homepage: https://github.com/tbidne/package-version/ bug-reports: https://github.com/tbidne/package-version/issues synopsis: A package for retrieving a package's version number. description: @package-version@ reads the package version number from a cabal file. This version number can be retrieved at compile-time via @TemplateHaskell@ or runtime via ordinary functions. category: Development extra-doc-files: CHANGELOG.md extra-source-files: README.md source-repository head type: git location: https://github.com/tbidne/package-version common common-lang default-extensions: BangPatterns DeriveAnyClass DeriveGeneric DeriveLift DerivingStrategies DerivingVia ImportQualifiedPost LambdaCase NumericUnderscores OverloadedStrings PatternSynonyms ScopedTypeVariables TypeApplications default-language: Haskell2010 library import: common-lang exposed-modules: Data.Version.Package Data.Version.Package.Internal build-depends: , base >=4.14.1.0 && <4.21 , bytestring >=0.10.10.0 && <0.13 , deepseq >=1.4.4.0 && <1.6 , template-haskell >=2.16.0.0 && <2.23 , text >=1.2.3.2 && <2.2 hs-source-dirs: src test-suite unit import: common-lang type: exitcode-stdio-1.0 main-is: Main.hs other-modules: Gens Unit.Data.Version.Package Utils build-depends: , base , hedgehog >=1.0.2 && <1.6 , package-version , tasty >=1.1.0.3 && <1.6 , tasty-hedgehog >=1.0.0.2 && <1.5 , tasty-hunit >=0.9 && <0.11 , text hs-source-dirs: test/unit test-suite doctest import: common-lang type: exitcode-stdio-1.0 main-is: Main.hs build-depends: , base , doctest >=0.16.3 && <0.23 , env-guard ^>=0.2 hs-source-dirs: test/doctest