hnix-store/hnix-store-remote/hnix-store-remote.cabal
2021-01-06 13:26:58 +01:00

99 lines
3.0 KiB
Plaintext

cabal-version: 2.2
name: hnix-store-remote
version: 0.4.0.0
synopsis: Remote hnix store
description: Implementation of the nix store using the daemon protocol.
homepage: https://github.com/haskell-nix/hnix-store
license: Apache-2.0
license-file: LICENSE
author: Richard Marko
maintainer: srk@48.io
copyright: 2018 Richard Marko
category: Nix
build-type: Simple
extra-source-files: ChangeLog.md, README.md
Common commons
if impl(ghc >= 8.10)
ghc-options: -Wall -Wunused-packages
else
ghc-options: -Wall
flag io-testsuite
default:
False
description:
Enable testsuite, which requires external
binaries and Linux namespace support.
library
import: commons
exposed-modules: System.Nix.Store.Remote
, System.Nix.Store.Remote.Binary
, System.Nix.Store.Remote.Builders
, System.Nix.Store.Remote.Logger
, System.Nix.Store.Remote.Parsers
, System.Nix.Store.Remote.Protocol
, System.Nix.Store.Remote.Types
, System.Nix.Store.Remote.Util
build-depends: base >=4.10 && <5
, attoparsec
, bytestring
, binary
, bytestring
, containers
, text
, network
, nix-derivation >= 1.1.1 && <2
, mtl
, unordered-containers
, time
, hnix-store-core >= 0.4 && <0.5
, vector
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite hnix-store-remote-tests
import: commons
if !flag(io-testsuite)
buildable: False
ghc-options: -rtsopts -fprof-auto
type: exitcode-stdio-1.0
main-is: Driver.hs
other-modules: Derivation
, NixDaemon
, Spec
, Util
hs-source-dirs: tests
build-depends: base
, hnix-store-core >= 0.3
, hnix-store-remote
, base64-bytestring
, binary
, bytestring
, containers
, directory
, process
, filepath
, hspec-expectations-lifted
, quickcheck-text
, tasty
, tasty-discover
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, linux-namespaces
, nix-derivation
, temporary
, text
, time
, unix
, unordered-containers
, vector
, which
default-language: Haskell2010