packages feed

Shpadoinkle-isreal-0.0.0.2: Shpadoinkle-isreal.cabal

cabal-version: 2.2
name:          Shpadoinkle-isreal
version:       0.0.0.2
category:      Web
author:        Isaac Shapira
maintainer:    isaac.shapira@platonic.systems
license:       GPL-3.0-or-later
license-file:  LICENSE
build-type:    Simple
extra-source-files:
  README.md
synopsis:
  Isreal Swan will make a snowman for you!
description:
  Snowman as a service. The web server calls a bash script.
  That builds inside a nix-shell. Results are returned via http.


source-repository head
  type: git
  location: https://gitlab.com/platonic/shpadoinkle.git


common ghc-options
  ghc-options:
    -Wall
    -Wcompat
    -fwarn-redundant-constraints
    -fwarn-incomplete-uni-patterns
    -fwarn-tabs
    -fwarn-incomplete-record-updates
    -fwarn-identities


library
  import: ghc-options

  exposed-modules:
    Shpadoinkle.Isreal.Types

  hs-source-dirs: .

  build-depends:
      aeson
    , base >=4.12.0 && <4.16
    , bytestring
    , containers
    , deepseq
    , random
    , servant
    , text
    , time

  if !impl(ghcjs)
    build-depends:
      servant-server

  default-language: Haskell2010


executable isreal
  import: ghc-options

  main-is: Main.hs

  other-modules:
    Shpadoinkle.Isreal.Types

  hs-source-dirs: .

  build-depends:
      aeson
    , base >=4.12.0 && <4.16
    , bytestring
    , containers
    , deepseq
    , directory
    , filepath
    , process
    , random
    , servant
    , servant-server
    , text
    , time
    , warp

  if impl(ghcjs)
    buildable: False
  else
    buildable: True

  default-language: Haskell2010