From c6670b805fd05c643139fbd10a433cae4113170e Mon Sep 17 00:00:00 2001
From: Graham Christensen <graham@grahamc.com>
Date: Mon, 7 Jun 2021 11:34:30 -0400
Subject: [PATCH] init: HashSharedMem for Prometheus

---
 flake.nix | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/flake.nix b/flake.nix
index 1b748100..73dbf94f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -139,6 +139,19 @@
             };
           };
 
+          HashSharedMem = final.perlPackages.buildPerlModule {
+            pname = "Hash-SharedMem";
+            version = "0.005";
+            src = final.fetchurl {
+              url = "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Hash-SharedMem-0.005.tar.gz";
+              sha256 = "324776808602f7bdc44adaa937895365454029a926fa611f321c9bf6b940bb5e";
+            };
+            buildInputs = with final.perlPackages; [ ScalarString ];
+            meta = {
+              description = "Efficient shared mutable hash";
+              license = with final.lib.licenses; [ artistic1 gpl1Plus ];
+            };
+          };
           TieHashMethod = final.buildPerlPackage {
               pname = "Tie-Hash-Method";
               version = "0.02";