From 82e5c2d8260f18adc5b6b7045867b246c33e227f Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Mon, 7 Nov 2022 18:33:34 +0000
Subject: [PATCH] process-extras: init at 0.7.4

---
 manifest.dhall          |  1 +
 overlay.nix             |  2 ++
 pkgs/process-extras.nix | 44 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)
 create mode 100644 pkgs/process-extras.nix

diff --git a/manifest.dhall b/manifest.dhall
index 0ea96beb..ad5a1071 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -609,6 +609,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "profunctors" "5.6.2"
     , callHackage "prometheus-client" "1.1.0"
     , callHackage "prometheus-proc" "0.1.4.0"
+    , callHackage "process-extras" "0.7.4"
     , callHackage "proteaaudio-sdl" "0.9.2"
     , callHackage "psqueues" "0.2.7.3"
     , callHackage "pureMD5" "2.1.4"
diff --git a/overlay.nix b/overlay.nix
index b8bf104c..3ca7f8e6 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -937,6 +937,8 @@ self: with pkgs.haskell.lib; {
 
   primitive-addr = self.callPackage (./pkgs/primitive-addr.nix) { };
 
+  process-extras = self.callPackage (./pkgs/process-extras.nix) { };
+
   profunctors = self.callPackage (./pkgs/profunctors.nix) { };
 
   prometheus-client = self.callPackage (./pkgs/prometheus-client.nix) { };
diff --git a/pkgs/process-extras.nix b/pkgs/process-extras.nix
new file mode 100644
index 00000000..be6a1dbf
--- /dev/null
+++ b/pkgs/process-extras.nix
@@ -0,0 +1,44 @@
+{ mkDerivation
+, base
+, bytestring
+, data-default
+, deepseq
+, generic-deriving
+, HUnit
+, lib
+, ListLike
+, mtl
+, process
+, text
+}:
+mkDerivation {
+  pname = "process-extras";
+  version = "0.7.4";
+  sha256 = "293e75f849254ce0ce0d7fa659681917e07a557c602505a2f9e20777467e984e";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    bytestring
+    data-default
+    deepseq
+    generic-deriving
+    ListLike
+    mtl
+    process
+    text
+  ];
+  testHaskellDepends = [ base HUnit ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "https://github.com/seereason/process-extras";
+  description = "Process extras";
+  license = lib.licenses.mit;
+  broken = false;
+}
-- 
GitLab