aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Shared
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-09-29 03:18:15 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-09-29 03:20:23 +0200
commit447814db7ecda25afa13a7a699a72c5223649d98 (patch)
tree5b092641377d99259438cf4b019c5ff3ed17d932 /src/CabalHelper/Shared
parentca9f53e4133f185f353a6d9e13257cddfd621ec2 (diff)
Change license to Apache2
All contributors have agreed on public record at https://github.com/DanielG/cabal-helper/issues/76 Fixes #76
Diffstat (limited to 'src/CabalHelper/Shared')
-rw-r--r--src/CabalHelper/Shared/Common.hs17
-rw-r--r--src/CabalHelper/Shared/InterfaceTypes.hs17
2 files changed, 12 insertions, 22 deletions
diff --git a/src/CabalHelper/Shared/Common.hs b/src/CabalHelper/Shared/Common.hs
index 031adcf..d95fe9b 100644
--- a/src/CabalHelper/Shared/Common.hs
+++ b/src/CabalHelper/Shared/Common.hs
@@ -1,23 +1,18 @@
-- cabal-helper: Simple interface to Cabal's configuration state
-- Copyright (C) 2015-2018 Daniel Gröber <cabal-helper@dxld.at>
--
--- This program is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
+-- SPDX-License-Identifier: Apache-2.0
--
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
--
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>.
+-- http://www.apache.org/licenses/LICENSE-2.0
{-|
Module : CabalHelper.Shared.Common
Description : Shared utility functions
-License : GPL-3
+License : Apache-2.0
-}
{-# LANGUAGE CPP, DeriveDataTypeable, OverloadedStrings #-}
diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs
index 352deb0..8588c98 100644
--- a/src/CabalHelper/Shared/InterfaceTypes.hs
+++ b/src/CabalHelper/Shared/InterfaceTypes.hs
@@ -1,25 +1,20 @@
-- cabal-helper: Simple interface to Cabal's configuration state
-- Copyright (C) 2015-2018 Daniel Gröber <cabal-helper@dxld.at>
--
--- This program is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
+-- SPDX-License-Identifier: Apache-2.0
--
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
--
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>.
+-- http://www.apache.org/licenses/LICENSE-2.0
{-# LANGUAGE DeriveGeneric, DeriveDataTypeable, DefaultSignatures #-}
{-|
Module : CabalHelper.Shared.InterfaceTypes
Description : Types which are used by c-h library and executable to communicate
-License : GPL-3
+License : Apache-2.0
These types are used to communicate between the cabal-helper library and helper
executable, using Show/Read. If any types in this module change the major