packages feed

stack2nix-0.2.2: stack2nix.cabal

name:                stack2nix
version:             0.2.2
synopsis:            Convert stack.yaml files into Nix build instructions.
description:         Convert stack.yaml files into Nix build instructions.
license:             MIT
license-file:        LICENSE
author:              IOHK DevOps
maintainer:          stack2nix@iohk.io
category:            Distribution, Nix
build-type:          Simple
extra-source-files:
  README.md
  ChangeLog.md
cabal-version:       >= 1.10

source-repository head
  type:     git
  location: https://github.com/input-output-hk/stack2nix.git

library
  hs-source-dirs:      src
  build-depends:       base >=4.9 && <4.13
                     , Cabal >= 2.0.0.2 && < 2.5
                     , async >= 2.1.1.1 && < 2.3
                     , cabal2nix >= 2.10
                     , containers >= 0.5.7.1 && < 0.7
                     , directory >= 1.3 && < 1.4
                     , distribution-nixpkgs >= 1.1 && < 1.2
                     , filepath >= 1.4.1.1 && < 1.5
                     , hackage-db
                     , optparse-applicative >= 0.13.2 && < 0.15
                     , pretty
                     , path
                     , language-nix
                     , lens
                     , process >= 1.4.3 && < 1.7
                     , regex-pcre >= 0.94.4 && < 0.95
                     , SafeSemaphore >= 0.10.1 && < 0.11
                     , stack >= 1.9
                     , temporary >= 1.2.0.4 && < 1.4
                     , text >= 1.2.2.1 && < 1.3
                     , time
  exposed-modules:     Stack2nix
                     , Stack2nix.PP
                     , Stack2nix.Render
                     , Stack2nix.Types
                     , Stack2nix.Util
  other-modules:       Stack2nix.External.Cabal2nix
                     , Stack2nix.External.Stack
                     , Stack2nix.External.VCS.Git
                     , Stack2nix.External.Util
                     , Stack2nix.Hackage
                     , Paths_stack2nix
  ghc-options:         -Wall
  default-language:    Haskell2010

executable stack2nix
  main-is:             Main.hs
  build-depends:       base
                     , Cabal
                     , stack2nix
                     , optparse-applicative
                     , time
  hs-source-dirs:      stack2nix
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

test-suite test
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    test.hs
  build-depends:
      base >= 4 && < 5
    , hspec
    , stack2nix