summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-04-22 23:50:40 +0200
committerTom Smeding <tom@tomsmeding.com>2022-04-22 23:50:49 +0200
commit84a8967044dc5b8879033a07f5ba7940852510d9 (patch)
tree518f27d70cb3d3f94298e03d88a5bb85b888e74d
parent6ca1e41da1d702467dbfb0d6bf7b463884eedc31 (diff)
Add license file
-rw-r--r--LICENSE7
-rw-r--r--ghc-gc-hook.cabal7
2 files changed, 14 insertions, 0 deletions
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