-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathhnix-store-tests.cabal
98 lines (95 loc) · 2.38 KB
/
hnix-store-tests.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
cabal-version: 2.2
name: hnix-store-tests
version: 0.1.0.0
synopsis: Test utilities and instances
description:
This package contains Arbitrary instances for core
types, roundtrip property tests, utility functions
and a harness for running tests that require nix-store
with nix-daemon.
homepage: https://github.com/haskell-nix/hnix-store
license: Apache-2.0
license-file: LICENSE
author: Sorki
maintainer: [email protected]
copyright: 2023 Sorki
category: Nix
build-type: Simple
extra-doc-files:
CHANGELOG.md
extra-source-files:
README.md
common commons
ghc-options: -Wall
default-extensions:
DerivingStrategies
, DerivingVia
, FlexibleInstances
, ScopedTypeVariables
, StandaloneDeriving
, RecordWildCards
, TypeApplications
, LambdaCase
default-language: Haskell2010
library
import: commons
exposed-modules:
Data.ByteString.Arbitrary
, Data.HashSet.Arbitrary
, Data.Text.Arbitrary
, Data.Vector.Arbitrary
, System.Nix.Arbitrary
, System.Nix.Arbitrary.Base
, System.Nix.Arbitrary.Build
, System.Nix.Arbitrary.ContentAddress
, System.Nix.Arbitrary.Derivation
, System.Nix.Arbitrary.DerivedPath
, System.Nix.Arbitrary.FileContentAddress
, System.Nix.Arbitrary.Hash
, System.Nix.Arbitrary.OutputName
, System.Nix.Arbitrary.Realisation
, System.Nix.Arbitrary.Signature
, System.Nix.Arbitrary.Store.Types
, System.Nix.Arbitrary.StorePath
, System.Nix.Arbitrary.StorePath.Metadata
, System.Nix.Arbitrary.UTCTime
, Test.Hspec.Nix
build-depends:
base >=4.12 && <5
, hnix-store-core >= 0.8
, bytestring
, containers
, crypton
, dependent-sum > 0.7
, generic-arbitrary < 1.1
, hashable
, hspec
, QuickCheck
, text
, time
, unordered-containers
, vector
hs-source-dirs: src
test-suite props
import: commons
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
BaseEncodingSpec
ContentAddressSpec
DerivationSpec
DerivedPathSpec
RealisationSpec
StorePathSpec
SignatureSpec
hs-source-dirs:
tests
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
base
, hnix-store-core
, hnix-store-tests
, attoparsec
, text
, hspec