From 21371646dca8448a84d389e70742e3fdae083030 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Sun, 6 Nov 2022 21:35:48 +0000
Subject: [PATCH] tar: init at 0.5.1.1

---
 manifest.dhall |  1 +
 overlay.nix    |  2 ++
 pkgs/tar.nix   | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)
 create mode 100644 pkgs/tar.nix

diff --git a/manifest.dhall b/manifest.dhall
index 2b881eee..1ff5a46b 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -598,6 +598,7 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "sydtest" "0.13.0.0"
     , callHackage "sydtest-discover" "0.0.0.2"
     , callHackage "tagged" "0.8.6.1"
+    , callHackage "tar" "0.5.1.1"
     , callCabal2nix
         "tasty"
         "https://github.com/UnkindPartition/tasty"
diff --git a/overlay.nix b/overlay.nix
index 0d0a6f4d..490d2052 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -859,6 +859,8 @@ self: with pkgs.haskell.lib; {
 
   tagged = self.callPackage (./pkgs/tagged.nix) { };
 
+  tar = self.callPackage (./pkgs/tar.nix) { };
+
   tasty = self.callPackage (./pkgs/tasty.nix) { };
 
   tasty-bench = self.callPackage (./pkgs/tasty-bench.nix) { };
diff --git a/pkgs/tar.nix b/pkgs/tar.nix
new file mode 100644
index 00000000..a674f6cf
--- /dev/null
+++ b/pkgs/tar.nix
@@ -0,0 +1,71 @@
+{ mkDerivation
+, array
+, base
+, bytestring
+, bytestring-handle
+, containers
+, criterion
+, deepseq
+, directory
+, filepath
+, lib
+, QuickCheck
+, tasty
+, tasty-quickcheck
+, time
+}:
+mkDerivation {
+  pname = "tar";
+  version = "0.5.1.1";
+  sha256 = "b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de";
+  revision = "5";
+  editedCabalFile = "15dqywn1lsyqb0nq1amj70mh1i079b7xwr02wbpcdzmdljg9c55w";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    array
+    base
+    bytestring
+    containers
+    deepseq
+    directory
+    filepath
+    time
+  ];
+  testHaskellDepends = [
+    array
+    base
+    bytestring
+    bytestring-handle
+    containers
+    deepseq
+    directory
+    filepath
+    QuickCheck
+    tasty
+    tasty-quickcheck
+    time
+  ];
+  benchmarkHaskellDepends = [
+    array
+    base
+    bytestring
+    containers
+    criterion
+    deepseq
+    directory
+    filepath
+    time
+  ];
+  enableLibraryProfiling = false;
+  enableExecutableProfiling = false;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  description = "Reading, writing and manipulating \".tar\" archive files.";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
-- 
GitLab