hnix-store/hnix-store-core/hnix-store-core.cabal
Shea Levy 6e4b72f021
Add type for metadata about StorePaths.
This is a stronger-typed version of ValidPathInfo, so this fixes #43.
2019-03-27 12:04:56 -04:00

87 lines
2.6 KiB
Plaintext

name: hnix-store-core
version: 0.2.0.0
synopsis: Core effects for interacting with the Nix store.
description:
This package contains types and functions needed to describe
interactions with the Nix store abstracted away from
specific effectful context.
homepage: https://github.com/haskell-nix/hnix-store
license: Apache-2.0
license-file: LICENSE
author: Shea Levy
maintainer: shea@shealevy.com
copyright: 2018 Shea Levy
category: System
build-type: Simple
extra-source-files: ChangeLog.md, README.md
cabal-version: >=1.10
library
exposed-modules: System.Nix.Base32
, System.Nix.Hash
, System.Nix.Internal.Hash
, System.Nix.Internal.Signature
, System.Nix.Internal.StorePath
, System.Nix.Nar
, System.Nix.ReadonlyStore
, System.Nix.Signature
, System.Nix.StorePath
, System.Nix.StorePathMetadata
, System.Nix.Util
build-depends: base >=4.10 && <5
, base16-bytestring
, bytestring
, binary
, bytestring
, containers
, cryptohash-md5
, cryptohash-sha1
, cryptohash-sha256
, directory
, filepath
, hashable
, mtl
, regex-base
, regex-tdfa-text
, saltine
, time
, text
, unix
, unordered-containers
, vector
hs-source-dirs: src
default-language: Haskell2010
Flag bounded_memory
description: Run tests of constant memory use (requires +RTS -T)
default: False
test-suite format-tests
if flag(bounded_memory)
cpp-options: -DBOUNDED_MEMORY
ghc-options: -rtsopts -fprof-auto
type: exitcode-stdio-1.0
main-is: Driver.hs
other-modules:
NarFormat
Hash
hs-source-dirs:
tests
build-depends:
hnix-store-core
, base
, base64-bytestring
, binary
, bytestring
, containers
, directory
, process
, tasty
, tasty-discover
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, temporary
, text
default-language: Haskell2010