Skip to content

Commit

Permalink
Update cabal dependency version bounds, tested-with, and add license …
Browse files Browse the repository at this point in the history
…report.
  • Loading branch information
nuttycom committed May 15, 2024
1 parent f434b55 commit d751dca
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
},
{
"name": "check if licenses have changed",
"run": "{\n echo \"**NB**: This captures the licenses associated with a particular set of dependency versions. If your own build solves differently, it’s possible that the licenses may have changed, or even that the set of dependencies itself is different. Please make sure you run [\\`cabal-plan license-report\\`](https://hackage.haskell.org/package/cabal-plan) on your own components rather than assuming this is authoritative.\"\n echo\n cabal-plan license-report true-name:lib:true-name\n} >\"true-name/docs/license-report.md\"\n\ngit diff --exit-code */docs/license-report.md\n"
"run": "{\n echo \"**NB**: This captures the licenses associated with a particular set of dependency versions. If your own build solves differently, it’s possible that the licenses may have changed, or even that the set of dependencies itself is different. Please make sure you run [\\`cabal-plan license-report\\`](https://hackage.haskell.org/package/cabal-plan) on your own components rather than assuming this is authoritative.\"\n echo\n cabal-plan license-report true-name:lib:true-name\n} >\"docs/license-report.md\"\n\ngit diff --exit-code docs/license-report.md\n"
}
]
}
Expand Down
24 changes: 24 additions & 0 deletions docs/license-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**NB**: This captures the licenses associated with a particular set of dependency versions. If your own build solves differently, it’s possible that the licenses may have changed, or even that the set of dependencies itself is different. Please make sure you run [`cabal-plan license-report`](https://hackage.haskell.org/package/cabal-plan) on your own components rather than assuming this is authoritative.

# Dependency License Report

Bold-faced **`package-name`**s denote standard libraries bundled with `ghc-8.10.1`.

## Direct dependencies of `true-name:lib:true-name`

| Name | Version | [SPDX](https://spdx.org/licenses/) License Id | Description | Also depended upon by |
| --- | --- | --- | --- | --- |
| **`base`** | [`4.14.0.0`](http://hackage.haskell.org/package/base-4.14.0.0) | [`BSD-3-Clause`](http://hackage.haskell.org/package/base-4.14.0.0/src/LICENSE) | Basic libraries | *(core library)* |
| **`template-haskell`** | [`2.16.0.0`](http://hackage.haskell.org/package/template-haskell-2.16.0.0) | [`BSD-3-Clause`](http://hackage.haskell.org/package/template-haskell-2.16.0.0/src/LICENSE) | Support library for Template Haskell | |

## Indirect transitive dependencies

| Name | Version | [SPDX](https://spdx.org/licenses/) License Id | Description | Depended upon by |
| --- | --- | --- | --- | --- |
| **`array`** | [`0.5.4.0`](http://hackage.haskell.org/package/array-0.5.4.0) | [`BSD-3-Clause`](http://hackage.haskell.org/package/array-0.5.4.0/src/LICENSE) | Mutable and immutable arrays | `deepseq` |
| **`deepseq`** | [`1.4.4.0`](http://hackage.haskell.org/package/deepseq-1.4.4.0) | [`BSD-3-Clause`](http://hackage.haskell.org/package/deepseq-1.4.4.0/src/LICENSE) | Deep evaluation of data structures | `pretty` |
| **`ghc-boot-th`** | [`8.10.1`](http://hackage.haskell.org/package/ghc-boot-th-8.10.1) | [`BSD-3-Clause`](http://hackage.haskell.org/package/ghc-boot-th-8.10.1/src/LICENSE) | Shared functionality between GHC and the `template-haskell` library | `template-haskell` |
| **`ghc-prim`** | [`0.6.1`](http://hackage.haskell.org/package/ghc-prim-0.6.1) | [`BSD-3-Clause`](http://hackage.haskell.org/package/ghc-prim-0.6.1/src/LICENSE) | GHC primitives | *(core library)* |
| **`integer-gmp`** | [`1.0.3.0`](http://hackage.haskell.org/package/integer-gmp-1.0.3.0) | [`BSD-3-Clause`](http://hackage.haskell.org/package/integer-gmp-1.0.3.0/src/LICENSE) | Integer library based on GMP | *(core library)* |
| **`pretty`** | [`1.1.3.6`](http://hackage.haskell.org/package/pretty-1.1.3.6) | [`BSD-3-Clause`](http://hackage.haskell.org/package/pretty-1.1.3.6/src/LICENSE) | Pretty-printing library | `template-haskell` |

30 changes: 17 additions & 13 deletions true-name.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,39 @@ category: Data, Unsafe
build-type: Simple
stability: experimental
tested-with:
GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
GHC == 8.8.3,
GHC == 7.10.3,
GHC == 8.0.2,
GHC == 8.2.2,
GHC == 8.4.1,
GHC == 8.6.1,
GHC == 8.8.1,
GHC == 8.10.1

source-repository head
type: git
location: https://github.com/haskell-github-trust/true-name

library
common buildenv
default-language: Haskell2010
build-depends:
base ^>=4.8.2 || ^>=4.9.1 || ^>=4.10.1 || ^>=4.11.0 || ^>=4.12.0 || ^>=4.13.0 || ^>=4.14.0,
template-haskell ^>=2.10.0 || ^>=2.11.1 || ^>=2.12.0 || ^>=2.13.0 || ^>=2.14.0 || ^>=2.15.0 || ^>=2.16.0,

library
import: buildenv
exposed-modules:
Unsafe.TrueName
build-depends:
base >= 4.5 && < 5,
template-haskell >= 2.7
ghc-options: -Wall

test-suite sanity
default-language: Haskell2010
import: buildenv
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: sanity.hs
build-depends:
base,
containers,
time,
template-haskell,
true-name
containers ^>=0.5.6 || ^>=0.6.0,
time ^>=1.1.2 || ^>=1.5.0 || ^>=1.6.0 || ^>=1.8.0 || ^>=1.9,
true-name,
ghc-options: -Wall

-- vim: et sw=4 ts=4 sts=4:
Expand Down

0 comments on commit d751dca

Please sign in to comment.