From 0f888c712101596ce618a60f3a4d7d35076bf8f1 Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Thu, 31 Dec 2020 02:28:32 +0200 Subject: [PATCH] haskellPackages.cryptohash-sha512: dontCheck base16-bytestring had new epoch (1.0) 3 month ago: https://hackage.haskell.org/package/base16-bytestring-1.0.1.0/changelog Which fixed the old return type to normal `Either String ByteString`. `cryptohash-sha512` is stale for ~10-11 months and testsuite does not suport the new `base16-bytesting` releases. --- .../haskell-modules/configuration-common.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 05740979b8a..6d2b3264b6f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -805,11 +805,20 @@ self: super: { # Needs QuickCheck <2.10, HUnit <1.6 and base <4.10 pointfree = doJailbreak super.pointfree; - # Depends on base <4.12 - # See https://github.com/haskell-hvr/cryptohash-sha512/pull/3 - # , https://github.com/haskell-hvr/cryptohash-sha512/issues/4 - # and https://github.com/haskell-hvr/cryptohash-sha512/pull/5 - cryptohash-sha512 = doJailbreak super.cryptohash-sha512; + # The project is stale + # + # Archiving request: https://github.com/haskell-hvr/cryptohash-sha512/issues/6 + # + # doJailbreak since base <4.12 && bytestring <0.11 + # Request to support: + # https://github.com/haskell-hvr/cryptohash-sha512/issues/4 + # PRs to support base <4.12: + # https://github.com/haskell-hvr/cryptohash-sha512/pull/3 + # https://github.com/haskell-hvr/cryptohash-sha512/pull/5 + # + # dontCheck since test suite does not support new `base16-bytestring` >= 1 format + # https://github.com/haskell-hvr/cryptohash-sha512/pull/5#issuecomment-752796913 + cryptohash-sha512 = dontCheck (doJailbreak super.cryptohash-sha512); # Depends on tasty < 1.x, which we don't have. cryptohash-sha256 = doJailbreak super.cryptohash-sha256;