From 84a8967044dc5b8879033a07f5ba7940852510d9 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 22 Apr 2022 23:50:40 +0200 Subject: Add license file --- LICENSE | 7 +++++++ ghc-gc-hook.cabal | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8b27ff9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2022 Tom Smeding + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/ghc-gc-hook.cabal b/ghc-gc-hook.cabal index 0865edc..b7ed15d 100644 --- a/ghc-gc-hook.cabal +++ b/ghc-gc-hook.cabal @@ -1,9 +1,16 @@ cabal-version: 2.0 name: ghc-gc-hook synopsis: GHC garbage collection hook +description: + GHC exposes an API for calling a user-defined C function after every garbage + collection pass. This small library gives access to this source of + information from Haskell in a bare-bones form; furthermore, it gives a small + usability improvement for running your own function from C using the hook + from this library. version: 0.2.0.0 category: GHC license: MIT +license-file: LICENSE author: Tom Smeding maintainer: tom@tomsmeding.com build-type: Simple -- cgit v1.2.3-54-g00ecf