From 371807af31309cccc8de2eb544733842bb9aabb2 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Wed, 11 Jan 2023 12:27:07 +0000 Subject: [PATCH] ekg-statsd: init at 0.2.5.0 --- horizon.dhall | 1 + initial-packages.nix | 2 ++ pkgs/ekg-statsd.nix | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 pkgs/ekg-statsd.nix diff --git a/horizon.dhall b/horizon.dhall index 039222c5..3462fac5 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -309,6 +309,7 @@ let packages = "https://github.com/vshabanov/ekg-json" "00ebe7211c981686e65730b7144fbf5350462608" (None H.Subdir) + , ekg-statsd = H.callHackage "ekg-statsd" "0.2.5.0" , emojis = H.callHackage "emojis" "0.1.2" , enclosed-exceptions = H.callHackage "enclosed-exceptions" "1.0.3" , entropy = H.callHackage "entropy" "0.4.1.10" diff --git a/initial-packages.nix b/initial-packages.nix index 46aa412d..190e46c7 100644 --- a/initial-packages.nix +++ b/initial-packages.nix @@ -453,6 +453,8 @@ self: with pkgs.haskell.lib; { ekg-json = self.callPackage (./pkgs/ekg-json.nix) { }; + ekg-statsd = self.callPackage (./pkgs/ekg-statsd.nix) { }; + email-validate = self.callPackage (./pkgs/email-validate.nix) { }; emojis = self.callPackage (./pkgs/emojis.nix) { }; diff --git a/pkgs/ekg-statsd.nix b/pkgs/ekg-statsd.nix new file mode 100644 index 00000000..56658732 --- /dev/null +++ b/pkgs/ekg-statsd.nix @@ -0,0 +1,38 @@ +{ mkDerivation +, base +, bytestring +, ekg-core +, lib +, network +, text +, time +, unordered-containers +}: +mkDerivation { + pname = "ekg-statsd"; + version = "0.2.5.0"; + sha256 = "22f947644019f13db105aea665088673fbdcdf6a671e7ec1a72c6134bbd64f0b"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + ekg-core + network + text + time + unordered-containers + ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/tibbe/ekg-statsd"; + description = "Push metrics to statsd"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab