From 39e295dc8357992fb886b17b9cfc2b10e7c260b0 Mon Sep 17 00:00:00 2001 From: Mann mit Hut Date: Sun, 26 Feb 2023 15:00:09 +0100 Subject: [PATCH] Checked in generated Cabal file See https://github.com/commercialhaskell/stack/issues/5210 and https://www.fpcomplete.com/blog/storing-generated-cabal-files/ for the rationale behind this. --- .gitignore | 2 +- typed-process.cabal | 90 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 typed-process.cabal diff --git a/.gitignore b/.gitignore index e44f0d5..af1dc7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ .stack-work/ *~ +dist-newstyle/ tarballs/ -/typed-process.cabal stack.yaml.lock diff --git a/typed-process.cabal b/typed-process.cabal new file mode 100644 index 0000000..b7639b9 --- /dev/null +++ b/typed-process.cabal @@ -0,0 +1,90 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.35.2. +-- +-- see: https://github.com/sol/hpack + +name: typed-process +version: 0.2.10.1 +synopsis: Run external processes, with strong typing of streams +description: Please see the tutorial at +category: System +homepage: https://github.com/fpco/typed-process +bug-reports: https://github.com/fpco/typed-process/issues +author: Michael Snoyman +maintainer: michael@snoyman.com +license: MIT +license-file: LICENSE +build-type: Simple +extra-source-files: + README.md + ChangeLog.md + +source-repository head + type: git + location: https://github.com/fpco/typed-process + +library + exposed-modules: + System.Process.Typed + System.Process.Typed.Internal + other-modules: + Paths_typed_process + hs-source-dirs: + src + build-depends: + async >=2.0 + , base >=4.12 && <5 + , bytestring + , process >=1.2 + , stm + , transformers + , unliftio-core + default-language: Haskell2010 + if os(windows) + cpp-options: -DWINDOWS + +test-suite typed-process-test + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + System.Process.TypedSpec + Paths_typed_process + hs-source-dirs: + test + ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-depends: + async >=2.0 + , base >=4.12 && <5 + , base64-bytestring + , bytestring + , hspec + , process >=1.2 + , stm + , temporary + , transformers + , typed-process + , unliftio-core + default-language: Haskell2010 + +test-suite typed-process-test-single-threaded + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + System.Process.TypedSpec + Paths_typed_process + hs-source-dirs: + test + build-depends: + async >=2.0 + , base >=4.12 && <5 + , base64-bytestring + , bytestring + , hspec + , process >=1.2 + , stm + , temporary + , transformers + , typed-process + , unliftio-core + default-language: Haskell2010