2021-01-06 13:52:01 +03:00
|
|
|
cabal-version: 2.2
|
2018-07-16 10:12:23 +03:00
|
|
|
name: hnix-store-remote
|
2022-06-06 12:26:09 +03:00
|
|
|
version: 0.6.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
|
2021-11-15 19:43:21 +03:00
|
|
|
, relude >= 1.0
|
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
|
2022-06-06 11:59:07 +03:00
|
|
|
, hnix-store-core >= 0.6 && <0.7
|
2021-08-06 17:38:56 +03:00
|
|
|
mixins:
|
|
|
|
base hiding (Prelude)
|
|
|
|
, relude (Relude as Prelude)
|
|
|
|
, relude
|
2021-08-06 17:09:29 +03:00
|
|
|
default-extensions:
|
|
|
|
OverloadedStrings
|
|
|
|
, DeriveGeneric
|
|
|
|
, DeriveDataTypeable
|
|
|
|
, DeriveFunctor
|
|
|
|
, DeriveFoldable
|
|
|
|
, DeriveTraversable
|
|
|
|
, DeriveLift
|
|
|
|
, FlexibleContexts
|
|
|
|
, FlexibleInstances
|
|
|
|
, StandaloneDeriving
|
|
|
|
, TypeApplications
|
|
|
|
, TypeSynonymInstances
|
|
|
|
, InstanceSigs
|
|
|
|
, MultiParamTypeClasses
|
|
|
|
, TupleSections
|
|
|
|
, LambdaCase
|
|
|
|
, BangPatterns
|
|
|
|
, ViewPatterns
|
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:
|
2022-03-07 14:42:05 +03:00
|
|
|
NixDaemon
|
2021-03-16 11:57:38 +03:00
|
|
|
, 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
|
2021-08-06 17:38:56 +03:00
|
|
|
, relude
|
2021-03-16 11:57:38 +03:00
|
|
|
, 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
|
|
|
|
, temporary
|
|
|
|
, unix
|
|
|
|
, unordered-containers
|
2021-08-06 17:38:56 +03:00
|
|
|
mixins:
|
|
|
|
base hiding (Prelude)
|
|
|
|
, relude (Relude as Prelude)
|
|
|
|
, relude
|
2021-08-06 17:09:29 +03:00
|
|
|
default-extensions:
|
|
|
|
OverloadedStrings
|
|
|
|
, DeriveGeneric
|
|
|
|
, DeriveDataTypeable
|
|
|
|
, DeriveFunctor
|
|
|
|
, DeriveFoldable
|
|
|
|
, DeriveTraversable
|
|
|
|
, DeriveLift
|
|
|
|
, FlexibleContexts
|
|
|
|
, FlexibleInstances
|
|
|
|
, StandaloneDeriving
|
|
|
|
, TypeApplications
|
|
|
|
, TypeSynonymInstances
|
|
|
|
, InstanceSigs
|
|
|
|
, MultiParamTypeClasses
|
|
|
|
, TupleSections
|
|
|
|
, LambdaCase
|
|
|
|
, BangPatterns
|
|
|
|
, ViewPatterns
|
2021-01-06 13:51:12 +03:00
|
|
|
default-language: Haskell2010
|