diff options
Diffstat (limited to 'tiled')
-rw-r--r-- | tiled/Data/Tiled.hs | 4 | ||||
-rw-r--r-- | tiled/default.nix | 13 | ||||
-rw-r--r-- | tiled/tiled.cabal | 24 |
3 files changed, 37 insertions, 4 deletions
diff --git a/tiled/Data/Tiled.hs b/tiled/Data/Tiled.hs index 9256375..99c5c9d 100644 --- a/tiled/Data/Tiled.hs +++ b/tiled/Data/Tiled.hs @@ -1,13 +1,9 @@ -{-# LANGUAGE BangPatterns #-} {-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE LambdaCase #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TemplateHaskell #-} diff --git a/tiled/default.nix b/tiled/default.nix new file mode 100644 index 0000000..c112497 --- /dev/null +++ b/tiled/default.nix @@ -0,0 +1,13 @@ +{ mkDerivation, aeson, base, bytestring, lib, text, universum +, vector +}: +mkDerivation { + pname = "tiled"; + version = "0.1"; + src = ./.; + libraryHaskellDepends = [ + aeson base bytestring text universum vector + ]; + homepage = "https://stuebinm.eu/git/walint"; + license = "unknown"; +} diff --git a/tiled/tiled.cabal b/tiled/tiled.cabal new file mode 100644 index 0000000..2864748 --- /dev/null +++ b/tiled/tiled.cabal @@ -0,0 +1,24 @@ +cabal-version: 3.0 +name: tiled +version: 0.1 +author: stuebinm +maintainer: stuebinm@disroot.org +copyright: 2022 stuebinm +homepage: https://stuebinm.eu/git/walint + +library + exposed-modules: + Data.Tiled + Data.Tiled.Abstract + Data.Tiled.TH + default-extensions: + NoImplicitPrelude + ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors + build-depends: + aeson + , base + , bytestring + , text + , universum + , vector + default-language: GHC2021 |