spdx-license-0.1.1: spdx-license.cabal
cabal-version: 3.0
name: spdx-license
version: 0.1.1
synopsis: SPDX license templates
description: Parsing, pretty-printing and rendering of SPDX license templates
category: Data
license: BSD-3-Clause
license-file: LICENSE
author: poscat
maintainer: poscat <poscat@mail.poscat.moe>
copyright: Copyright (c) poscat 2020
stability: alpha
homepage: https://github.com/poscat0x04/spdx-license
bug-reports: https://github.com/poscat0x04/spdx-license/issues
extra-source-files: test/data/*.txt
common common-attrs
build-depends:
, base >=4.10 && <5
, megaparsec
, text
default-language: Haskell2010
default-extensions:
DeriveGeneric
OverloadedStrings
RecordWildCards
library
import: common-attrs
build-depends:
, containers
, regex-tdfa
, string-interpolate
exposed-modules: Distribution.SPDX.Template
other-modules:
hs-source-dirs: src
test-suite spdx-license-test
import: common-attrs
type: exitcode-stdio-1.0
build-depends:
, directory
, hspec
, spdx-license
hs-source-dirs: test
main-is: Spec.hs
source-repository head
type: git
location: https://github.com/poscat0x04/spdx-license