From eafdeb57044841322ec49c28b78ea4ecfa6a0699 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 11:56:30 +0000 Subject: [PATCH] fast-logger: init at 3.1.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/fast-logger.nix | 48 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 pkgs/fast-logger.nix diff --git a/manifest.dhall b/manifest.dhall index ac03a11a..4cad3606 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -258,6 +258,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "extra" "1.7.12" , callHackage "expiring-cache-map" "0.0.6.1" , callHackage "fail" "4.9.0.0" + , callHackage "fast-logger" "3.1.1" , callHackage "fcf-containers" "0.7.1" , callHackage "file-embed" "0.0.15.0" , callHackage "filemanip" "0.3.6.3" diff --git a/overlay.nix b/overlay.nix index 85f2bfb1..f1410efd 100644 --- a/overlay.nix +++ b/overlay.nix @@ -329,6 +329,8 @@ self: with pkgs.haskell.lib; { fail = self.callPackage (./pkgs/fail.nix) { }; + fast-logger = self.callPackage (./pkgs/fast-logger.nix) { }; + fcf-containers = self.callPackage (./pkgs/fcf-containers.nix) { }; file-embed = self.callPackage (./pkgs/file-embed.nix) { }; diff --git a/pkgs/fast-logger.nix b/pkgs/fast-logger.nix new file mode 100644 index 00000000..0de55418 --- /dev/null +++ b/pkgs/fast-logger.nix @@ -0,0 +1,48 @@ +{ mkDerivation +, array +, auto-update +, base +, bytestring +, directory +, easy-file +, filepath +, hspec +, hspec-discover +, lib +, text +, unix-compat +, unix-time +}: +mkDerivation { + pname = "fast-logger"; + version = "3.1.1"; + sha256 = "435f6e7e0771b9b525550c292a941ab5726b233e7d91fdeca707e3cdb531a8e7"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + array + auto-update + base + bytestring + directory + easy-file + filepath + text + unix-compat + unix-time + ]; + testHaskellDepends = [ base bytestring directory hspec ]; + testToolDepends = [ hspec-discover ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/kazu-yamamoto/logger"; + description = "A fast logging system"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab