diff --git a/manifest.dhall b/manifest.dhall index ac03a11a946dd252638eeceda5d006827166e8e0..4cad36062f042eaf716ec70cf893dd8078704c90 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 85f2bfb1e1825ab4cc0054278b9abbe17b9ad8a5..f1410efdef6e42b12ead66570b1108cfeca56634 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 0000000000000000000000000000000000000000..0de55418a992757eba937d7e06dc777573d90b6d --- /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; +}