packages feed

hpack 0.39.1 → 0.39.2

raw patch · 8 files changed

+19/−16 lines, 8 filesdep +cryptohash-sha256dep −crypton

Dependencies added: cryptohash-sha256

Dependencies removed: crypton

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+## Changes in 0.39.2+  - Depend on `cryptohash-sha256`, rather than `crypton`, for SHA256 hashes+ ## Changes in 0.39.1   - Add support for `mhs-options` (MicroHs) 
hpack.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.38.3.+-- This file has been generated from package.yaml by hpack version 0.39.1. -- -- see: https://github.com/sol/hpack  name:           hpack-version:        0.39.1+version:        0.39.2 synopsis:       A modern format for Haskell packages description:    See README at <https://github.com/sol/hpack#readme> category:       Development@@ -71,7 +71,7 @@     , bifunctors     , bytestring     , containers-    , crypton+    , cryptohash-sha256     , deepseq     , directory >=1.2.5.0     , filepath@@ -105,7 +105,7 @@     , bifunctors     , bytestring     , containers-    , crypton+    , cryptohash-sha256     , deepseq     , directory >=1.2.5.0     , filepath@@ -203,7 +203,7 @@     , bifunctors     , bytestring     , containers-    , crypton+    , cryptohash-sha256     , deepseq     , directory >=1.2.5.0     , filepath
resources/test/hpack.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.38.3.+-- This file has been generated from package.yaml by hpack version 0.39.1. -- -- see: https://github.com/sol/hpack  name:           hpack-version:        0.39.1+version:        0.39.2 synopsis:       A modern format for Haskell packages description:    See README at <https://github.com/sol/hpack#readme> category:       Development@@ -71,7 +71,7 @@     , bifunctors     , bytestring     , containers-    , crypton+    , cryptohash-sha256     , deepseq     , directory >=1.2.5.0     , filepath@@ -105,7 +105,7 @@     , bifunctors     , bytestring     , containers-    , crypton+    , cryptohash-sha256     , deepseq     , directory >=1.2.5.0     , filepath@@ -203,7 +203,7 @@     , bifunctors     , bytestring     , containers-    , crypton+    , cryptohash-sha256     , deepseq     , directory >=1.2.5.0     , filepath
src/Hpack/Config.hs view
@@ -1678,7 +1678,7 @@       , "nix-build"       ]     warnLegacyTool pkg name = tell ["Usage of the unqualified build-tool name " ++ show name ++ " is deprecated! Please use the qualified name \"" ++ pkg ++ ":" ++ name ++ "\" instead!"]-    warnLegacySystemTool name = tell ["Listing " ++ show name ++ " under build-tools is deperecated! Please list system executables under system-build-tools instead!"]+    warnLegacySystemTool name = tell ["Listing " ++ show name ++ " under build-tools is deprecated! Please list system executables under system-build-tools instead!"]  pathsModuleFromPackageName :: String -> Module pathsModuleFromPackageName name =
src/Hpack/Util.hs view
@@ -32,7 +32,7 @@ import           System.FilePath import qualified System.FilePath.Posix as Posix import           System.FilePath.Glob-import           Crypto.Hash+import qualified Crypto.Hash.SHA256 as SHA256  import           Hpack.Haskell import           Hpack.Utf8 as Utf8@@ -130,7 +130,7 @@ type Hash = String  sha256 :: String -> Hash-sha256 c = show (hash (Utf8.encodeUtf8 c) :: Digest SHA256)+sha256 c = show (SHA256.hash (Utf8.encodeUtf8 c))  nub :: Ord a => [a] -> [a] nub = nubOn id
test/EndToEndSpec.hs view
@@ -846,7 +846,7 @@           |] `shouldRenderTo` (executable_ "my-package" [i|           build-tools:               ghc >=7.10-          |]) { packageWarnings = ["Listing \"ghc\" under build-tools is deperecated! Please list system executables under system-build-tools instead!"] }+          |]) { packageWarnings = ["Listing \"ghc\" under build-tools is deprecated! Please list system executables under system-build-tools instead!"] }      describe "system-build-tools" $ do       it "adds system build tools to build-tools" $ do
test/Hpack/ConfigSpec.hs view
@@ -166,7 +166,7 @@        context "when name matches a legacy system build tool" $ do         it "warns" $ do-          toBuildTool_ (UnqualifiedBuildTool "ghc") `shouldBe` (Left ("ghc", AnyVersion), ["Listing \"ghc\" under build-tools is deperecated! Please list system executables under system-build-tools instead!"])+          toBuildTool_ (UnqualifiedBuildTool "ghc") `shouldBe` (Left ("ghc", AnyVersion), ["Listing \"ghc\" under build-tools is deprecated! Please list system executables under system-build-tools instead!"])      context "with a QualifiedBuildTool" $ do       context "when only package matches the current package" $ do
test/Hpack/Syntax/GitSpec.hs view
@@ -21,7 +21,7 @@     it "rejects .lock at the end of a component" $ do       isValidRef "foo/bar.lock/baz" `shouldBe` False -    it "rejects . at the biginning of a component" $ do+    it "rejects . at the beginning of a component" $ do       isValidRef "foo/.bar/baz" `shouldBe` False      it "rejects two consecutive dots .." $ do