From 26ba8601e7a23dbf772b4b77e4a3aae648262454 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sun, 6 Nov 2022 21:31:11 +0000 Subject: [PATCH] blaze-builder: init at 0.4.2.2 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/blaze-builder.nix | 47 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 pkgs/blaze-builder.nix diff --git a/manifest.dhall b/manifest.dhall index 4ee0cbf7..998a6bc9 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -106,6 +106,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "bimap" "0.5.0" , callHackage "bitvec" "1.1.3.0" , callHackage "binary-orphans" "1.0.3" + , callHackage "blaze-builder" "0.4.2.2" , callHackage "blaze-html" "0.9.1.2" , callHackage "blaze-textual" "0.2.2.1" , callHackage "blaze-markup" "0.8.2.8" diff --git a/overlay.nix b/overlay.nix index 0f0e0aba..2f5431e8 100644 --- a/overlay.nix +++ b/overlay.nix @@ -95,6 +95,8 @@ self: with pkgs.haskell.lib; { bitvec = self.callPackage (./pkgs/bitvec.nix) { }; + blaze-builder = self.callPackage (./pkgs/blaze-builder.nix) { }; + blaze-html = self.callPackage (./pkgs/blaze-html.nix) { }; blaze-markup = self.callPackage (./pkgs/blaze-markup.nix) { }; diff --git a/pkgs/blaze-builder.nix b/pkgs/blaze-builder.nix new file mode 100644 index 00000000..da2e24e5 --- /dev/null +++ b/pkgs/blaze-builder.nix @@ -0,0 +1,47 @@ +{ mkDerivation +, base +, bytestring +, deepseq +, ghc-prim +, HUnit +, lib +, QuickCheck +, test-framework +, test-framework-hunit +, test-framework-quickcheck2 +, text +, utf8-string +}: +mkDerivation { + pname = "blaze-builder"; + version = "0.4.2.2"; + sha256 = "2cdc998c021d3a5f2a66a95138b93386271c26a117e7676d78264a90e536af67"; + revision = "1"; + editedCabalFile = "026vxh94h2hwncy1mn51xzfpnhj8ijp5xc8fpq7dwc63fkrps0gh"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base bytestring deepseq ghc-prim text ]; + testHaskellDepends = [ + base + bytestring + HUnit + QuickCheck + test-framework + test-framework-hunit + test-framework-quickcheck2 + text + utf8-string + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/blaze-builder/blaze-builder"; + description = "Efficient buffered output"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab