packages feed

workcell-0.1.2: workcell.cabal

cabal-version:       2.2
name:                workcell
version:             0.1.2
synopsis:            Linux tool and project isolation using bubblewrap
description:
        Run tools with a read-only filesystem, isolated home,
        and explicit writable project access.
license:             LGPL-2.1-or-later
license-file:        COPYING.md
author:              Jens Petersen <juhpetersen@gmail.com>
maintainer:          Jens Petersen <juhpetersen@gmail.com>
copyright:           2026  Jens Petersen <juhpetersen@gmail.com>
category:            Utility
homepage:            https://github.com/juhp/workcell
bug-reports:         https://github.com/juhp/workcell/issues
build-type:          Simple
extra-doc-files:     README.md
                     ChangeLog.md
tested-with:         GHC == 8.10.7
                      || == 9.0.2
                      || == 9.2.8
                      || == 9.4.8
                      || == 9.6.7
                      || == 9.8.4
                      || == 9.10.3
                      || == 9.12.4

source-repository head
  type:                git
  location:            https://github.com/juhp/workcell.git

executable workcell
  main-is:             Main.hs
  other-modules:       Child
                       Enter
                       Identity
                       Run
                       Sandbox
                       Session
                       Util
                       Paths_workcell
  autogen-modules:     Paths_workcell
  hs-source-dirs:      src
  build-depends:       base < 5,
                       aeson,
                       bytestring,
                       directory,
                       extra,
                       filepath,
                       process,
                       simple-cmd >= 0.2.3,
                       simple-cmd-args >= 0.1.8,
                       unix
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat
                       -Widentities
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:       -fhide-source-paths
  if impl(ghc >= 8.4)
    ghc-options:       -Wmissing-export-lists
                       -Wpartial-fields
  if impl(ghc >= 8.10)
    ghc-options:       -Wunused-packages

test-suite test
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  hs-source-dirs:      test src
  other-modules:       Child
                       Identity
                       Sandbox
                       Session
                       Util
  build-depends:       base < 5,
                       aeson,
                       bytestring,
                       directory,
                       extra,
                       filepath,
                       hspec,
                       network,
                       process,
                       simple-cmd,
                       unix
  build-tool-depends:  workcell:workcell
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded

benchmark bench
  type:                exitcode-stdio-1.0
  main-is:             Bench.hs
  hs-source-dirs:      bench
  build-depends:       base < 5,
                       process,
                       simple-cmd,
                       tasty,
                       tasty-bench >= 0.4
  build-tool-depends:  workcell:workcell
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded