From a253dbf0149b0da990c59649313e790d679b1163 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Wed, 11 Jan 2023 10:55:03 +0000 Subject: [PATCH] io-streams-haproxy: init at 1.0.1.0 --- horizon.dhall | 1 + initial-packages.nix | 2 ++ pkgs/io-streams-haproxy.nix | 52 +++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 pkgs/io-streams-haproxy.nix diff --git a/horizon.dhall b/horizon.dhall index bc78cabd..530166c5 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -474,6 +474,7 @@ let packages = , integer-logarithms = H.callHackage "integer-logarithms" "1.0.3.1" , interpolate = H.callHackage "interpolate" "0.2.1" , invariant = H.callHackage "invariant" "0.6" + , io-streams-haproxy = H.callHackage "io-streams-haproxy" "1.0.1.0" , io-streams = H.callHackage "io-streams" "1.5.2.2" , ipynb = H.callHackage "ipynb" "0.2" , iproute = H.callHackage "iproute" "1.7.12" diff --git a/initial-packages.nix b/initial-packages.nix index 4f7fb87f..7915c4c3 100644 --- a/initial-packages.nix +++ b/initial-packages.nix @@ -731,6 +731,8 @@ self: with pkgs.haskell.lib; { io-streams = self.callPackage (./pkgs/io-streams.nix) { }; + io-streams-haproxy = self.callPackage (./pkgs/io-streams-haproxy.nix) { }; + iproute = self.callPackage (./pkgs/iproute.nix) { }; ipynb = self.callPackage (./pkgs/ipynb.nix) { }; diff --git a/pkgs/io-streams-haproxy.nix b/pkgs/io-streams-haproxy.nix new file mode 100644 index 00000000..e8913924 --- /dev/null +++ b/pkgs/io-streams-haproxy.nix @@ -0,0 +1,52 @@ +{ mkDerivation +, HUnit +, attoparsec +, base +, bytestring +, io-streams +, lib +, network +, test-framework +, test-framework-hunit +, transformers +}: +mkDerivation { + pname = "io-streams-haproxy"; + version = "1.0.1.0"; + sha256 = "b74eca9290fe838a0e3be857a38b62cf6fb7478acee400eac19e47471a2c96b5"; + revision = "6"; + editedCabalFile = "024aw98q1x3fb1xq07qki3z446w6lk5gyjl13shy0dbrd5aafh92"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + attoparsec + base + bytestring + io-streams + network + transformers + ]; + testHaskellDepends = [ + attoparsec + base + bytestring + HUnit + io-streams + network + test-framework + test-framework-hunit + transformers + ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://snapframework.com/"; + description = "HAProxy protocol 1.5 support for io-streams"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab