packages feed

nix-freeze-tree-0.1.0.0: nix-freeze-tree.cabal

cabal-version:       2.2

name:                nix-freeze-tree
version:             0.1.0.0
synopsis:            Convert a tree of files into fixed-output derivations
description:
  @nix-freeze-tree@ walks a directory tree and generates a tree of Nix
  expressions that recreate the tree from fixed-output derivations,
  one derivation per file in the source tree. See @README.md@ to get
  started.
homepage:            https://git.sr.ht/~jack/nix-freeze-tree
bug-reports:         https://todo.sr.ht/~jack/nix-freeze-tree
license:             AGPL-3.0-or-later
license-file:        LICENSE
author:              Jack Kelly
maintainer:          jack@jackkelly.name
copyright:           (c) 2020 Jack Kelly
category:            Application, Nix
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md
tested-with:         GHC == 8.6.5

executable nix-freeze-tree
  hs-source-dirs:     bin
  main-is:            Main.hs
  default-language:   Haskell2010
  ghc-options:        -Wall -threaded
  build-depends:      base
                    , nix-freeze-tree-internal

library nix-freeze-tree-internal
  hs-source-dirs:     src
  exposed-modules:    BuilderDirs
                    , Config
                    , NixBuilder
                    , NixFreezeTree
                    , NixHash
  other-modules:      Paths_nix_freeze_tree
  autogen-modules:    Paths_nix_freeze_tree
  default-language:   Haskell2010
  ghc-options:        -Wall
  build-depends:      base >= 4.9 && < 4.14
                    , binary >= 0.8.6.0 && < 0.9
                    , bytestring >= 0.10.8.2 && < 0.11
                    , data-fix >= 0.2.0 && < 0.3
                    , directory >= 1.3.3.0 && < 1.4
                    , directory-tree >= 0.12.1 && < 0.13
                    , hnix >= 0.6.1 && < 0.7
                    , hnix-store-core >= 0.1.0.0 && < 0.2
                    , optparse-applicative >= 0.14.3.0 && < 0.15
                    , path >= 0.6.1 && < 0.7
                    , prettyprinter >= 1.2.1.1 && < 1.3
                    , raw-strings-qq >= 1.1 && < 1.2
                    , text >= 1.2.3.1 && < 1.3
                    , transformers >= 0.5.6.2 && < 0.6

test-suite nix-freeze-tree-tests
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  other-modules:       ConfigTest
  ghc-options:         -Wall -threaded
  build-depends:       base
                     , HUnit >= 1.6.0.0 && < 1.7
                     , nix-freeze-tree-internal
                     , optparse-applicative
                     , tasty >= 1.2.3 && < 1.3
                     , tasty-discover >= 4.2.1 && < 4.3
                     , tasty-hunit >= 0.10.0.2 && < 0.11
  hs-source-dirs:      test
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://git.sr.ht/~jack/nix-freeze-tree