hnix-store-json-0.2.0.0: hnix-store-json.cabal
cabal-version: 2.2
name: hnix-store-json
version: 0.2.0.0
synopsis: JSON serialization for core types
description:
Aeson instances for core types, required for remote store protocol
homepage: https://github.com/haskell-nix/hnix-store
license: Apache-2.0
license-file: LICENSE
author: Sorki
maintainer: srk@48.io
copyright: 2023 Sorki
category: Nix
build-type: Simple
extra-doc-files:
CHANGELOG.md
extra-source-files:
README.md
data-files:
upstream-libstore-data/content-address/nar.json
upstream-libstore-data/content-address/text.json
upstream-libstore-data/derived-path/multi_built_built.json
upstream-libstore-data/derived-path/multi_built_built_wildcard.json
upstream-libstore-data/derived-path/multi_opaque.json
upstream-libstore-data/derived-path/mutli_built.json
upstream-libstore-data/derived-path/single_built_built.json
upstream-libstore-data/derived-path/single_built.json
upstream-libstore-data/derived-path/single_opaque.json
upstream-libstore-data/derivation/dyn-dep-derivation.json
upstream-libstore-data/derivation/output-caFixedFlat.json
upstream-libstore-data/derivation/output-caFixedNAR.json
upstream-libstore-data/derivation/output-caFixedText.json
upstream-libstore-data/derivation/output-caFloating.json
upstream-libstore-data/derivation/output-inputAddressed.json
upstream-libstore-data/derivation/simple-derivation.json
upstream-libstore-data/outputs-spec/all.json
upstream-libstore-data/outputs-spec/name.json
upstream-libstore-data/outputs-spec/names.json
upstream-libstore-data/realisation/simple.json
upstream-libstore-data/realisation/unkeyed-simple.json
upstream-libstore-data/realisation/unkeyed-with-signature.json
upstream-libstore-data/realisation/with-signature.json
upstream-libstore-data/build-result/not-deterministic.json
upstream-libstore-data/build-result/output-rejected.json
upstream-libstore-data/build-result/success.json
upstream-libstore-data/store-path/simple.json
upstream-libstore-data/path-info/json-3/empty_impure.json
upstream-libstore-data/path-info/json-3/empty_pure.json
upstream-libstore-data/path-info/json-3/impure.json
upstream-libstore-data/path-info/json-3/pure.json
upstream-libutil-data/hash/sha256.json
upstream-libutil-data/hash/sha512.json
common commons
ghc-options: -Wall
default-extensions:
DataKinds
, DeriveAnyClass
, DeriveGeneric
, DerivingVia
, FlexibleInstances
, ImportQualifiedPost
, LambdaCase
, RecordWildCards
, StandaloneDeriving
, TypeApplications
default-language: Haskell2010
library
import: commons
exposed-modules:
System.Nix.JSON
build-depends:
base >=4.12 && <5
, hnix-store-core >= 0.8
, aeson >= 2.0 && < 3.0
, attoparsec
, containers
, crypton
, dependent-sum
, monoidal-containers
, text
, these
, time
hs-source-dirs: src
test-suite json
import: commons
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
BuildResultSpec
ContentAddressSpec
DerivationSpec
DerivedPathSpec
HashSpec
JSONSpec
OutputsSpecSpec
PathInfoSpec
RealisationSpec
SingleDerivedPathSpec
StorePathSpec
UpstreamData
Paths_hnix_store_json
autogen-modules:
Paths_hnix_store_json
hs-source-dirs:
tests
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
base
, hnix-store-core
, hnix-store-json
, hnix-store-tests
, aeson
, bytestring
, containers
, crypton
, dependent-sum
, hspec
, monoidal-containers
, some
, these
, time
, unordered-containers
, vector