packages feed

hwm-0.2.0: hwm.cabal

cabal-version:      1.12
name:               hwm
version:            0.2.0
license:            MIT
license-file:       LICENSE
copyright:          (c) 2026 Daviti Nalchevanidze
maintainer:         d.nalchevanidze@gmail.com
author:             Daviti Nalchevanidze
homepage:           https://github.com/nalchevanidze/hwm#readme
bug-reports:        https://github.com/nalchevanidze/hwm/issues
synopsis:
    Haskell Workspace Manager - Orchestrates Stack, Cabal, and HLS

description:
    HWM (Haskell Workspace Manager) manages multi-package Haskell projects by
    generating and synchronizing configuration files for Stack, Cabal, Hpack, and HLS
    from a single source of truth (hwm.yaml). It handles dependency management,
    build matrices across GHC versions, and coordinated package releases.

category:           Development
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/nalchevanidze/hwm

library
    exposed-modules:
        HWM.CLI.App
        HWM.CLI.Command
        HWM.CLI.Command.Environment.Add
        HWM.CLI.Command.Environment.Ls
        HWM.CLI.Command.Environment.Remove
        HWM.CLI.Command.Environment.Root
        HWM.CLI.Command.Environment.SetDefault
        HWM.CLI.Command.Init
        HWM.CLI.Command.Registry.Add
        HWM.CLI.Command.Registry.Audit
        HWM.CLI.Command.Registry.Ls
        HWM.CLI.Command.Registry.Root
        HWM.CLI.Command.Release.Artifacts
        HWM.CLI.Command.Release.Publish
        HWM.CLI.Command.Release.Root
        HWM.CLI.Command.Run
        HWM.CLI.Command.Status
        HWM.CLI.Command.Sync
        HWM.CLI.Command.Version
        HWM.CLI.Command.Workspace.Add
        HWM.CLI.Command.Workspace.Ls
        HWM.CLI.Command.Workspace.Root
        HWM.Core.Common
        HWM.Core.Formatting
        HWM.Core.Has
        HWM.Core.Options
        HWM.Core.Parsing
        HWM.Core.Pkg
        HWM.Core.Result
        HWM.Core.Version
        HWM.Domain.Bounds
        HWM.Domain.Config
        HWM.Domain.ConfigT
        HWM.Domain.Dependencies
        HWM.Domain.Environments
        HWM.Domain.Registry
        HWM.Domain.Release
        HWM.Domain.Workspace
        HWM.Integrations.Scaffold
        HWM.Integrations.Toolchain.Cabal
        HWM.Integrations.Toolchain.Github
        HWM.Integrations.Toolchain.Hie
        HWM.Integrations.Toolchain.Hpack
        HWM.Integrations.Toolchain.Nix
        HWM.Integrations.Toolchain.Package
        HWM.Integrations.Toolchain.Stack
        HWM.Runtime.Archive
        HWM.Runtime.Cache
        HWM.Runtime.Files
        HWM.Runtime.Logging
        HWM.Runtime.Network
        HWM.Runtime.Platform
        HWM.Runtime.Process
        HWM.Runtime.Snapshots
        HWM.Runtime.UI

    hs-source-dirs:   src
    other-modules:    Paths_hwm
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        Cabal >=3.8 && <=3.16.1.0,
        Glob >=0.10.1 && <=0.10.2,
        aeson >=1.5.6.0 && <=2.2.3.0,
        ansi-terminal >=0.11.3 && <=1.1.5,
        async >2.2.3 && <=2.2.6,
        base >=4.7.0 && <5.0.0,
        base16-bytestring >=1.0.1.0 && <=1.0.2.0,
        bytestring >=0.10.4 && <=0.12.2.0,
        containers >=0.4.2.1 && <=0.8,
        cryptohash-sha256 >=0.11.102.0 && <=0.11.102.1,
        directory >=1.0 && <=1.3.10.1,
        filepath >=1.1.0 && <=1.5.5.0,
        hpack >0.34.4 && <=0.39.1,
        modern-uri >=0.3.4.1 && <=0.3.6.1,
        mtl >2.0.0 && <2.6.0,
        optparse-applicative >=0.16.1.0 && <=0.19.0.0,
        process >=1.0.0 && <2.0.0,
        relude >=0.7.0.0 && <=1.2.2.2,
        req >=3.9.0 && <=3.13.4,
        stm >=2.4 && <2.6.0,
        text >=1.2.3 && <3.0.0,
        time >=1.9.2 && <2.0.0,
        transformers >=0.5.6 && <0.7.0,
        typed-process >=0.2.6.1 && <=0.2.13.0,
        unordered-containers >=0.2.14.0 && <=0.2.21,
        yaml >=0.11.5.0 && <=0.11.11.2,
        zip-archive >=0.4.1 && <=0.4.3.2

executable hwm
    main-is:          Main.hs
    hs-source-dirs:   app
    other-modules:    Paths_hwm
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        Cabal >=3.8 && <=3.16.1.0,
        Glob >=0.10.1 && <=0.10.2,
        aeson >=1.5.6.0 && <=2.2.3.0,
        ansi-terminal >=0.11.3 && <=1.1.5,
        async >2.2.3 && <=2.2.6,
        base >=4.7.0 && <5.0.0,
        base16-bytestring >=1.0.1.0 && <=1.0.2.0,
        bytestring >=0.10.4 && <=0.12.2.0,
        containers >=0.4.2.1 && <=0.8,
        cryptohash-sha256 >=0.11.102.0 && <=0.11.102.1,
        directory >=1.0 && <=1.3.10.1,
        filepath >=1.1.0 && <=1.5.5.0,
        hpack >0.34.4 && <=0.39.1,
        hwm >=0.2.0 && <0.3.0,
        modern-uri >=0.3.4.1 && <=0.3.6.1,
        mtl >2.0.0 && <2.6.0,
        optparse-applicative >=0.16.1.0 && <=0.19.0.0,
        process >=1.0.0 && <2.0.0,
        relude >=0.7.0.0 && <=1.2.2.2,
        req >=3.9.0 && <=3.13.4,
        stm >=2.4 && <2.6.0,
        text >=1.2.3 && <3.0.0,
        time >=1.9.2 && <2.0.0,
        transformers >=0.5.6 && <0.7.0,
        typed-process >=0.2.6.1 && <=0.2.13.0,
        unordered-containers >=0.2.14.0 && <=0.2.21,
        yaml >=0.11.5.0 && <=0.11.11.2,
        zip-archive >=0.4.1 && <=0.4.3.2

test-suite hwm-golden-sync
    type:             exitcode-stdio-1.0
    main-is:          Main.hs
    hs-source-dirs:   test
    other-modules:
        Commands.Init
        Commands.Sync
        Utils.Core
        Utils.Golden
        Paths_hwm

    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        Cabal >=3.8 && <=3.16.1.0,
        Glob >=0.10.1 && <=0.10.2,
        aeson >=1.5.6.0 && <=2.2.3.0,
        ansi-terminal >=0.11.3 && <=1.1.5,
        async >2.2.3 && <=2.2.6,
        base >=4.7.0 && <5.0.0,
        base16-bytestring >=1.0.1.0 && <=1.0.2.0,
        bytestring >=0.10.4 && <=0.12.2.0,
        containers >=0.4.2.1 && <=0.8,
        cryptohash-sha256 >=0.11.102.0 && <=0.11.102.1,
        directory >=1.0 && <=1.3.10.1,
        filepath >=1.1.0 && <=1.5.5.0,
        hpack >0.34.4 && <=0.39.1,
        hspec >=0.0 && >=0.0,
        modern-uri >=0.3.4.1 && <=0.3.6.1,
        mtl >2.0.0 && <2.6.0,
        optparse-applicative >=0.16.1.0 && <=0.19.0.0,
        process >=1.0.0 && <2.0.0,
        relude >=0.7.0.0 && <=1.2.2.2,
        req >=3.9.0 && <=3.13.4,
        stm >=2.4 && <2.6.0,
        temporary >=0.0 && >=0.0,
        text >=1.2.3 && <3.0.0,
        time >=1.9.2 && <2.0.0,
        transformers >=0.5.6 && <0.7.0,
        typed-process >=0.2.6.1 && <=0.2.13.0,
        unordered-containers >=0.2.14.0 && <=0.2.21,
        yaml >=0.11.5.0 && <=0.11.11.2,
        zip-archive >=0.4.1 && <=0.4.3.2