2018-04-26 18:17:03 +03:00
|
|
|
name: hnix-store-core
|
|
|
|
version: 0.1.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
|
2018-04-30 13:01:14 +03:00
|
|
|
exposed-modules: Crypto.Hash.Truncated
|
2018-07-16 10:09:23 +03:00
|
|
|
, System.Nix.Build
|
|
|
|
, System.Nix.Derivation
|
|
|
|
, System.Nix.GC
|
2018-04-30 13:01:14 +03:00
|
|
|
, System.Nix.Nar
|
2018-05-01 11:46:56 +03:00
|
|
|
, System.Nix.Path
|
2018-04-30 13:01:14 +03:00
|
|
|
, System.Nix.Store
|
2018-07-16 10:09:23 +03:00
|
|
|
, System.Nix.Util
|
2018-05-01 11:46:56 +03:00
|
|
|
build-depends: base >=4.10 && <4.11
|
|
|
|
, basement
|
|
|
|
, bytestring
|
|
|
|
, binary
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, cryptonite
|
|
|
|
, directory
|
|
|
|
, filepath
|
|
|
|
-- Drop foundation when we can drop cryptonite <0.25
|
|
|
|
, foundation
|
|
|
|
, hashable
|
|
|
|
, memory
|
|
|
|
, mtl
|
|
|
|
, regex-base
|
|
|
|
, regex-tdfa-text
|
|
|
|
, text
|
|
|
|
, unix
|
|
|
|
, unordered-containers
|
2018-04-26 18:17:03 +03:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2018-05-01 11:46:56 +03:00
|
|
|
|
2018-09-12 06:09:00 +03:00
|
|
|
Flag bounded_memory
|
|
|
|
description: Run tests of constant memory use (requires +RTS -T)
|
|
|
|
default: False
|
|
|
|
|
2018-05-01 11:46:56 +03:00
|
|
|
test-suite format-tests
|
2018-09-12 06:09:00 +03:00
|
|
|
if flag(bounded_memory)
|
|
|
|
cpp-options: -DBOUNDED_MEMORY
|
2018-05-01 11:46:56 +03:00
|
|
|
ghc-options: -rtsopts -fprof-auto
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Driver.hs
|
|
|
|
other-modules:
|
|
|
|
NarFormat
|
|
|
|
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
|
|
|
|
, text
|
|
|
|
default-language: Haskell2010
|