packages feed

hnix-store-remote 0.4.2.0 → 0.4.3.1

raw patch · 4 files changed

+59/−50 lines, 4 filesdep +hspecPVP ok

version bump matches the API change (PVP)

Dependencies added: hspec

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,6 +1,10 @@ # Revision history for hnix-store-remote -## [next](https://github.com/haskell-nix/hnix-store/compare/0.4.1.0...0.4.2.0) 2021-03-12+## [0.4.3.0](https://github.com/haskell-nix/hnix-store/compare/0.4.2.0...0.4.3.0) 2021-05-30++Nothing (it is tandem `hnix-store-core` fix release)++## [0.4.2.0](https://github.com/haskell-nix/hnix-store/compare/0.4.1.0...0.4.2.0) 2021-03-12  * Additional: 
hnix-store-remote.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hnix-store-remote-version:             0.4.2.0+version:             0.4.3.1 synopsis:            Remote hnix store description:         Implementation of the nix store using the daemon protocol. homepage:            https://github.com/haskell-nix/hnix-store@@ -28,27 +28,29 @@  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+  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-                     , binary-                     , bytestring-                     , containers-                     , text-                     , time-                     , network-                     , nix-derivation >= 1.1.1 && <2-                     , mtl-                     , unordered-containers-                     , hnix-store-core >= 0.4 && <0.5+  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   hs-source-dirs:      src   default-language:    Haskell2010   ghc-options:         -Wall@@ -58,34 +60,37 @@    if !flag(io-testsuite)     buildable: False+    ghc-options:       -rtsopts -fprof-auto -  ghc-options:       -rtsopts -fprof-auto   type:              exitcode-stdio-1.0   main-is:           Driver.hs-  other-modules:     Derivation-                   , NixDaemon-                   , Spec-                   , Util+  other-modules:+      Derivation+    , NixDaemon+    , Spec+    , Util   hs-source-dirs:    tests   build-tool-depends:     tasty-discover:tasty-discover-  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+  build-depends:+      base+    , hnix-store-core >= 0.3+    , hnix-store-remote+    , containers+    , directory+    , process+    , filepath+    , hspec-expectations-lifted+    , quickcheck-text+    , tasty+    , hspec+    , tasty-hspec+    , tasty-quickcheck+    , linux-namespaces+    , nix-derivation+    , temporary+    , text+    , unix+    , unordered-containers+    , vector   default-language: Haskell2010
tests/Derivation.hs view
@@ -48,7 +48,7 @@     Nothing -> error "No bash executable found"     Just fp -> do       let Right n = System.Nix.StorePath.makeStorePathName "bash"-      pth <- addToStore @ 'SHA256 n fp False (pure True) False+      pth <- addToStore @'SHA256 n fp False (pure True) False       action pth  withBuildScript :: (StorePath -> MonadStore a) -> MonadStore a
tests/NixDaemon.hs view
@@ -22,11 +22,11 @@ import qualified System.Process                as P import           System.Posix.User             as U import           System.Linux.Namespaces       as NS-import           Test.Tasty.Hspec               ( Spec+import           Test.Hspec                     ( Spec                                                 , describe                                                 , context                                                 )-import qualified Test.Tasty.Hspec              as Hspec+import qualified Test.Hspec                    as Hspec import           Test.Hspec.Expectations.Lifted  import           System.FilePath@@ -259,7 +259,7 @@       itRights "adds file to store" $ do         fp <- liftIO $ writeSystemTempFile "addition" "lal"         let Right n = makeStorePathName "tmp-addition"-        res <- addToStore @ 'SHA256 n fp False (pure True) False+        res <- addToStore @'SHA256 n fp False (pure True) False         liftIO $ print res      context "with dummy" $ do