From 19365e08b6933b41765a462c60c78f55edbc9129 Mon Sep 17 00:00:00 2001 From: David Binder <binderd@informatik.uni-tuebingen.de> Date: Sun, 9 Oct 2022 13:44:13 +0200 Subject: [PATCH] Update cabal file to version 2.2, update licensing information and add LICENSE file --- LICENSE | 11 +++++++++++ hpc-bin.cabal | 30 +++++++++++++++++------------- 2 files changed, 28 insertions(+), 13 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..37bbde9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,11 @@ +Copyright 2006, Andy Gill, Colin Runciman + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/hpc-bin.cabal b/hpc-bin.cabal index 9e36008..93b7e7e 100644 --- a/hpc-bin.cabal +++ b/hpc-bin.cabal @@ -1,24 +1,28 @@ -Name: hpc-bin --- XXX version number: -Version: 0.68 -Copyright: XXX -License: BSD3 --- XXX License-File: LICENSE -Author: XXX -Maintainer: XXX -Synopsis: XXX -Description: XXX -Category: Development +cabal-version: 2.2 +name: hpc-bin +version: 0.68 +license: BSD-3-Clause +license-File: LICENSE +copyright: (c) Andy Gill, Colin Runciman +author: Andy Gill, Colin Runciman +maintainer: XXX +synopsis: Hpc is a tool for generating coverage reports in various output formats for Haskell projects. +description: Hpc is a tool for generating coverage reports in various output formats for Haskell projects. +category: Development +bug-reports: https://gitlab.haskell.org/hpc/hpc-bin/-/issues extra-source-files: README.md , CHANGELOG.md build-type: Simple -cabal-version: 2.0 + +source-repository head + type: git + location: https://gitlab.haskell.org/hpc/hpc-bin.git Flag build-tool-depends Description: Use build-tool-depends Default: True -Executable hpc +executable hpc Default-Language: Haskell2010 hs-source-dirs: src Main-Is: Main.hs -- GitLab