hnix-store/hnix-store-remote/hnix-store-remote.cabal

96 lines
2.2 KiB
Plaintext
Raw Normal View History

cabal-version: 2.2
2018-07-16 10:12:23 +03:00
name: hnix-store-remote
version: 0.4.2.0
2018-07-16 10:12:23 +03:00
synopsis: Remote hnix store
2019-03-19 00:20:31 +03:00
description: Implementation of the nix store using the daemon protocol.
2018-07-16 10:12:23 +03:00
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
2018-07-16 10:12:23 +03:00
build-type: Simple
2020-07-14 13:42:46 +03:00
extra-source-files: ChangeLog.md, README.md
Common commons
if impl(ghc >= 8.10)
ghc-options: -Wall -Wunused-packages
else
ghc-options: -Wall
2018-07-16 10:12:23 +03:00
flag io-testsuite
default:
False
description:
Enable testsuite, which requires external
binaries and Linux namespace support.
2018-07-16 10:12:23 +03:00
library
import: commons
2021-03-16 11:57:38 +03:00
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
2018-07-16 10:12:23 +03:00
2021-03-16 11:57:38 +03:00
build-depends:
base >=4.10 && <5
, attoparsec
, binary
, bytestring
, containers
, text
, time
, network
, nix-derivation >= 1.1.1 && <2
, mtl
, unordered-containers
, hnix-store-core >= 0.4 && <0.5
2018-07-16 10:12:23 +03:00
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite hnix-store-remote-tests
import: commons
2021-01-06 13:51:12 +03:00
if !flag(io-testsuite)
buildable: False
ghc-options: -rtsopts -fprof-auto
2021-01-06 13:51:12 +03:00
type: exitcode-stdio-1.0
main-is: Driver.hs
2021-03-16 11:57:38 +03:00
other-modules:
Derivation
, NixDaemon
, Spec
, Util
2021-01-06 13:51:12 +03:00
hs-source-dirs: tests
build-tool-depends:
tasty-discover:tasty-discover
2021-03-16 11:57:38 +03:00
build-depends:
base
, hnix-store-core >= 0.3
, hnix-store-remote
, containers
, directory
, process
, filepath
, hspec-expectations-lifted
, quickcheck-text
, tasty
, tasty-hspec
, tasty-quickcheck
, linux-namespaces
, nix-derivation
, temporary
, text
, unix
, unordered-containers
, vector
2021-01-06 13:51:12 +03:00
default-language: Haskell2010