hnix-store-core-0.9.0.0: hnix-store-core.cabal
cabal-version: 2.2
name: hnix-store-core
version: 0.9.0.0
synopsis: Core types used for interacting with the Nix store.
description:
This package contains types and functions needed to describe
interactions with the Nix store.
homepage: https://github.com/haskell-nix/hnix-store
license: Apache-2.0
license-file: LICENSE
author: Shea Levy
maintainer: srk@48.io
copyright: 2018 Shea Levy
category: Nix
build-type: Simple
extra-doc-files:
CHANGELOG.md
extra-source-files:
README.md
, tests/samples/example0.drv
, tests/samples/example1.drv
common commons
ghc-options: -Wall
default-extensions:
ConstraintKinds
, BangPatterns
, DataKinds
, DeriveDataTypeable
, DeriveFoldable
, DeriveFunctor
, DeriveGeneric
, DeriveLift
, DeriveTraversable
, DerivingStrategies
, DerivingVia
, ExistentialQuantification
, ImportQualifiedPost
, FlexibleContexts
, FlexibleInstances
, GADTs
, ImportQualifiedPost
, InstanceSigs
, KindSignatures
, LambdaCase
, MultiParamTypeClasses
, MultiWayIf
, RecordWildCards
, ScopedTypeVariables
, StandaloneDeriving
, TupleSections
, TypeApplications
, TypeFamilies
, TypeOperators
, TypeSynonymInstances
, ViewPatterns
default-language: Haskell2010
library
import: commons
exposed-modules:
System.Nix.Base
, System.Nix.Base32
, System.Nix.Build
, System.Nix.ContentAddress
, System.Nix.Derivation
, System.Nix.DerivedPath
, System.Nix.Placeholder
, System.Nix.Fingerprint
, System.Nix.FileContentAddress
, System.Nix.Hash
, System.Nix.Hash.Truncation
, System.Nix.OutputName
, System.Nix.Realisation
, System.Nix.Signature
, System.Nix.Store.Types
, System.Nix.StorePath
, System.Nix.StorePath.ContentAddressed
, System.Nix.StorePath.Metadata
build-depends:
base >=4.12 && <5
, attoparsec
, base16-bytestring >= 1.0
, base64-bytestring >= 1.2.1
, bytestring
, constraints-extras
, containers
, crypton >= 1.1
, data-default-class
, deepseq
, dependent-sum > 0.7
, dependent-sum-template >= 0.2.0.1 && < 0.3
, dependent-monoidal-map
, filepath
, hashable
, monoidal-containers
-- Required for crypton low-level type conversion
, ram >= 0.20.1
, some > 1.0.5 && < 2
, these
, text
, time
, unordered-containers
, vector
hs-source-dirs: src
test-suite core
import: commons
type: exitcode-stdio-1.0
main-is: Driver.hs
other-modules:
ContentAddressed
Fingerprint
Hash
Placeholder
Signature
StorePath
hs-source-dirs:
tests
build-tool-depends:
tasty-discover:tasty-discover
build-depends:
hnix-store-core
, base
, base16-bytestring
, base64-bytestring
, bytestring
, containers
, crypton
, data-default-class
, dependent-sum
, hspec
, tasty
, tasty-hspec >= 1.1
, text
, time
, unordered-containers