From 3d222a88d25b80cf3b23860b41f2e1669913c86b Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Tue, 8 Nov 2022 15:57:13 +0000
Subject: [PATCH] tar: 0.5.1.1 ->
 github.com:locallycompact/tar/107c0b78524acfd0e77e767b83073492008bea0c

---
 manifest.dhall |  6 +++++-
 pkgs/tar.nix   | 18 ++++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/manifest.dhall b/manifest.dhall
index 340a4b50..283ede72 100644
--- a/manifest.dhall
+++ b/manifest.dhall
@@ -794,7 +794,11 @@ in  [ callHackage "Cabal" "3.8.1.0"
     , callHackage "tabular" "0.2.2.8"
     , callHackage "tagged" "0.8.6.1"
     , callHackage "tagsoup" "0.14.8"
-    , callHackage "tar" "0.5.1.1"
+    , callCabal2nix
+        "tar"
+        "https://github.com/locallycompact/tar"
+        (Some "107c0b78524acfd0e77e767b83073492008bea0c")
+        (None Text)
     , callCabal2nix
         "tasty"
         "https://github.com/UnkindPartition/tasty"
diff --git a/pkgs/tar.nix b/pkgs/tar.nix
index a674f6cf..39cce4e7 100644
--- a/pkgs/tar.nix
+++ b/pkgs/tar.nix
@@ -2,24 +2,27 @@
 , array
 , base
 , bytestring
-, bytestring-handle
 , containers
-, criterion
 , deepseq
 , directory
+, fetchgit
 , filepath
 , lib
 , QuickCheck
 , tasty
+, tasty-bench
 , tasty-quickcheck
 , time
 }:
 mkDerivation {
   pname = "tar";
-  version = "0.5.1.1";
-  sha256 = "b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de";
-  revision = "5";
-  editedCabalFile = "15dqywn1lsyqb0nq1amj70mh1i079b7xwr02wbpcdzmdljg9c55w";
+  version = "0.6.0.0";
+  src = fetchgit {
+    url = "https://github.com/locallycompact/tar";
+    sha256 = "1602fyzgsf5i6lrl6jv8x00qdbm37025ms87ncl7b30dcj2dvqh7";
+    rev = "107c0b78524acfd0e77e767b83073492008bea0c";
+    fetchSubmodules = true;
+  };
   isLibrary = true;
   isExecutable = false;
   enableSeparateDataOutput = false;
@@ -37,7 +40,6 @@ mkDerivation {
     array
     base
     bytestring
-    bytestring-handle
     containers
     deepseq
     directory
@@ -52,10 +54,10 @@ mkDerivation {
     base
     bytestring
     containers
-    criterion
     deepseq
     directory
     filepath
+    tasty-bench
     time
   ];
   enableLibraryProfiling = false;
-- 
GitLab