diff --git a/horizon.dhall b/horizon.dhall index bc78cabd5fb162a27e2f6e864cc1e6fb2be31812..530166c5cd971e0fa0b314c2030e98579fb81765 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 4f7fb87ffa2902ea5070ce1cdef1b302c8b9c152..7915c4c3d6c1480f06580bce7abe360e4762b17d 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 0000000000000000000000000000000000000000..e89139241c297f5a03c2bc430423df8b055b08e9 --- /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; +}