clean up .cabal file and add LICENSE

This commit is contained in:
Brent Yorgey 2021-08-26 21:05:46 -05:00
parent dbdc268429
commit 77f4ed1f28
2 changed files with 62 additions and 38 deletions

31
LICENSE Normal file
View File

@ -0,0 +1,31 @@
Copyright Brent Yorgey 2021
SPDX-License-Identifier: BSD-3-Clause
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* 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.
* Neither the name of Disco team nor the names of other
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
OWNER 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.

View File

@ -1,26 +1,24 @@
cabal-version: 2.4
name: swarm
version: 0.1.0.0
synopsis: 2D resource gathering game with programmable robots.
-- A short (one-line) description of the package.
-- synopsis:
description: A longer description will go here! (TODO)
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
license: BSD-3-Clause
license-file: LICENSE
author: Brent Yorgey
maintainer: byorgey@gmail.com
-- A copyright notice.
-- copyright:
-- category:
bug-reports: https://github.com/byorgey/swarm/issues
copyright: Brent Yorgey 2021
category: Game
tested-with: GHC == 8.10.4
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: git://github.com/byorgey/swarm.git
library
exposed-modules: Swarm.Types
Swarm.AST
@ -38,35 +36,30 @@ library
Swarm.App
build-depends: base ^>= 4.14,
megaparsec,
text,
lens,
linear,
containers,
brick >= 0.64,
mtl,
witch,
vty,
random,
split,
array,
unordered-containers,
murmur3,
stm,
parser-combinators,
prettyprinter,
hsnoise
array >= 0.5.4 && < 0.6,
base >= 4.14.1 && < 4.15,
brick >= 0.64 && < 0.65,
containers >= 0.6.2 && < 0.7,
megaparsec >= 9.1.0 && < 9.2,
text >= 1.2.4 && < 1.3,
mtl >= 2.2.2 && < 2.3,
parser-combinators >= 1.3.0 && < 1.4,
unordered-containers >= 0.2.14 && < 0.3,
stm >= 2.5.0 && < 2.6,
random >= 1.2.0 && < 1.3,
vty >= 5.33 && < 5.34,
hsnoise >= 0.0.2 && < 0.1,
lens >= 5.0.1 && < 5.1,
linear >= 1.21.6 && < 1.22,
murmur3 >= 1.0.4 && < 1.1,
prettyprinter >= 1.7.0 && < 1.8,
split >= 0.2.3 && < 0.3,
witch >= 0.3.4 && < 0.4,
hs-source-dirs: src
default-language: Haskell2010
executable swarm
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends: swarm, base
hs-source-dirs: app
default-language: Haskell2010