From c5a71793aac970f50c78fd03d2de952e52a9ad8b Mon Sep 17 00:00:00 2001
From: Dom Brown <dom.brown@platonic.systems>
Date: Wed, 19 Oct 2022 13:28:32 +0100
Subject: [PATCH] validity-bytestring: init at 0.4.1.1

---
 manifest.dhall               |  1 +
 overlay.nix                  |  2 ++
 pkgs/validity-bytestring.nix | 14 ++++++++++++++
 3 files changed, 17 insertions(+)
 create mode 100644 pkgs/validity-bytestring.nix

diff --git a/manifest.dhall b/manifest.dhall
index 67c8b49b..b92a219b 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -372,6 +372,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "unordered-containers" "0.2.19.1"
     , callHackage "validity" "0.12.0.1"
     , callHackage "validity-aeson" "0.2.0.5"
+    , callHackage "validity-bytestring" "0.4.1.1"
     , callHackage "vault" "0.3.1.5"
     , callHackage "vector" "0.13.0.0"
     , callHackage "vector-algorithms" "0.9.0.1"
diff --git a/overlay.nix b/overlay.nix
index 95d9554f..9a8cc230 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -481,6 +481,8 @@ final: prev: with pkgs.haskell.lib; {
 
     validity-aeson = prev.callPackage (./pkgs/validity-aeson.nix) { };
 
+    validity-bytestring = prev.callPackage (./pkgs/validity-bytestring.nix) { };
+
     vault = prev.callPackage (./pkgs/vault.nix) { };
 
     vector = prev.callPackage (./pkgs/vector.nix) { };
diff --git a/pkgs/validity-bytestring.nix b/pkgs/validity-bytestring.nix
new file mode 100644
index 00000000..8682ceaa
--- /dev/null
+++ b/pkgs/validity-bytestring.nix
@@ -0,0 +1,14 @@
+{ mkDerivation, base, bytestring, lib, validity }:
+mkDerivation {
+  pname = "validity-bytestring";
+  version = "0.4.1.1";
+  sha256 = "7db8912c29ceff3fd8943a61845f9c0738d7238ca49bce2e6f3c6bc490bd6732";
+  libraryHaskellDepends = [ base bytestring validity ];
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/NorfairKing/validity#readme";
+  description = "Validity instances for bytestring";
+  license = lib.licenses.mit;
+}
\ No newline at end of file
-- 
GitLab