From 4a3d3fd1ca5e82b12f008b92a5df400ac051b9e8 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Thu, 8 Sep 2022 19:23:35 +0100 Subject: [PATCH] cryptohash-sha1: 0.11.100.1 -> f82ceae0d2ad23cc5d4e7f69367b4b4796b852b8 --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 ++++ overlay.nix | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index a3093295..94fcd7a6 100644 --- a/flake.lock +++ b/flake.lock @@ -66,6 +66,22 @@ "type": "github" } }, + "cryptohash-sha1": { + "flake": false, + "locked": { + "lastModified": 1660587782, + "narHash": "sha256-7narJN/P+e3G7A9KtMe3uoMPi8DO9FPwQu7KG6NaixQ=", + "owner": "haskell-hvr", + "repo": "cryptohash-sha1", + "rev": "f82ceae0d2ad23cc5d4e7f69367b4b4796b852b8", + "type": "github" + }, + "original": { + "owner": "haskell-hvr", + "repo": "cryptohash-sha1", + "type": "github" + } + }, "doctest": { "flake": false, "locked": { @@ -318,6 +334,7 @@ "all-cabal-hashes": "all-cabal-hashes", "cache-effectful": "cache-effectful", "cborg": "cborg", + "cryptohash-sha1": "cryptohash-sha1", "doctest": "doctest", "double-conversion": "double-conversion", "ed25519": "ed25519", diff --git a/flake.nix b/flake.nix index 500ea317..7f8f0867 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,10 @@ url = "github:parsonsmatt/cborg/05ca2063ff631667699bffbeee3a4a076943b905"; flake = false; }; + cryptohash-sha1 = { + url = "github:haskell-hvr/cryptohash-sha1"; + flake = false; + }; doctest = { url = "github:parsonsmatt/doctest/a5f696b80bb8220d284e34d90f0b94291b859e77"; flake = false; diff --git a/overlay.nix b/overlay.nix index eb435473..bd9eb342 100644 --- a/overlay.nix +++ b/overlay.nix @@ -85,7 +85,7 @@ final: prev: with pkgs.haskell.lib; { constraints = doJailbreak (prev.callHackage "constraints" "0.13.4" { }); - cryptohash-sha1 = doJailbreak (prev.callHackage "cryptohash-sha1" "0.11.100.1" { }); + cryptohash-sha1 = prev.callCabal2nix "cryptohash-sha1" inputs.cryptohash-sha1 { }; cryptonite = prev.callHackage "cryptonite" "0.30" { }; -- GitLab