packages feed

nix-freeze-tree-0.1.0.1: nix-freeze-tree.cabal

cabal-version:      2.2
name:               nix-freeze-tree
version:            0.1.0.1
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.10.2

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.17
    , bytestring            >=0.10.8.2 && <0.12
    , cryptonite            >=0.28     && <0.30
    , data-fix              >=0.2.0    && <0.4
    , directory             ^>=1.3.3.0
    , directory-tree        ^>=0.12.1
    , hnix                  ^>=0.14.0.1
    , hnix-store-core       ^>=0.5
    , optparse-applicative  >=0.14.3.0 && <0.17
    , path                  >=0.6.1    && <0.10
    , path-io               ^>=1.6
    , prettyprinter         >=1.2.1.1  && <1.8
    , raw-strings-qq        ^>=1.1
    , text                  ^>=1.2.3.1
    , transformers          >=0.5.6.2  && <0.7

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
    , nix-freeze-tree-internal
    , optparse-applicative
    , tasty                     >=1.2.3    && <1.5
    , tasty-discover            ^>=4.2.1
    , tasty-hunit               ^>=0.10.0.2

  hs-source-dirs:   test
  default-language: Haskell2010

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