From 75ac7b18a009ffe7a77a17a61d95c01395f36b44 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 Jul 2017 00:05:57 +0200 Subject: sorbot.cabal: Fix license format error Apparently you can't write in any old string into the license field, so my SPDX-formatted license caused the build to fail. It was a bit difficult as a complete beginner to figure out how I was supposed to format the version given the `(Maybe Version)` in the documentation: https://www.haskell.org/cabal/release/cabal-latest/doc/API/Cabal/Distribution-License.html#t:License but fortunately a search through some open source Cabal files on GitHub revealed the answer. Disappointing, though, that I can't declare the `+` part of the license in an officially supported capacity, but okay. --- sorbot.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sorbot.cabal') diff --git a/sorbot.cabal b/sorbot.cabal index 3ab94c3..ee8959b 100644 --- a/sorbot.cabal +++ b/sorbot.cabal @@ -3,7 +3,7 @@ version: 0.1.0.0 -- synopsis: -- description: homepage: https://github.com/githubuser/sorbot#readme -license: GPL-3.0+ +license: GPL-3 license-file: LICENSE author: Author name here maintainer: example@example.com -- cgit v1.2.3