2021-01-06 13:52:01 +03:00
|
|
|
cabal-version: 2.2
|
2018-07-16 10:12:23 +03:00
|
|
|
name: hnix-store-remote
|
2021-06-10 21:23:02 +03:00
|
|
|
version: 0.5.0.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
|
2020-05-01 13:59:59 +03:00
|
|
|
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
|
2021-01-06 13:52:01 +03:00
|
|
|
|
|
|
|
Common commons
|
|
|
|
if impl(ghc >= 8.10)
|
|
|
|
ghc-options: -Wall -Wunused-packages
|
|
|
|
else
|
|
|
|
ghc-options: -Wall
|
2018-07-16 10:12:23 +03:00
|
|
|
|
2020-07-14 14:20:04 +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
|
2021-01-06 13:52:01 +03:00
|
|
|
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:
|
2021-08-06 17:38:27 +03:00
|
|
|
base >=4.12 && <5
|
|
|
|
, relude
|
2021-03-16 11:57:38 +03:00
|
|
|
, attoparsec
|
|
|
|
, binary
|
|
|
|
, bytestring
|
|
|
|
, containers
|
2021-06-10 21:09:11 +03:00
|
|
|
, cryptonite
|
2021-03-16 11:57:38 +03:00
|
|
|
, text
|
|
|
|
, time
|
|
|
|
, network
|
|
|
|
, nix-derivation >= 1.1.1 && <2
|
|
|
|
, mtl
|
|
|
|
, unordered-containers
|
2021-06-10 21:09:11 +03:00
|
|
|
, hnix-store-core >= 0.5 && <0.6
|
2018-07-16 10:12:23 +03:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall
|
2020-05-29 15:40:53 +03:00
|
|
|
|
|
|
|
test-suite hnix-store-remote-tests
|
2021-01-06 13:52:01 +03:00
|
|
|
import: commons
|
|
|
|
|
2021-01-06 13:51:12 +03:00
|
|
|
if !flag(io-testsuite)
|
|
|
|
buildable: False
|
2021-03-16 11:57:54 +03:00
|
|
|
ghc-options: -rtsopts -fprof-auto
|
2020-07-14 14:20:04 +03:00
|
|
|
|
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
|
2021-01-19 14:08:32 +03:00
|
|
|
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
|
2021-06-10 21:09:11 +03:00
|
|
|
, cryptonite
|
2021-03-16 11:57:38 +03:00
|
|
|
, directory
|
|
|
|
, process
|
|
|
|
, filepath
|
|
|
|
, hspec-expectations-lifted
|
|
|
|
, quickcheck-text
|
|
|
|
, tasty
|
2021-05-30 20:57:29 +03:00
|
|
|
, hspec
|
2021-03-16 11:57:38 +03:00
|
|
|
, 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
|