From 5bdcadb49737662c9b7bed29c28e28578a8300a1 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Fri, 21 Oct 2022 20:07:19 +0100 Subject: [PATCH] text-display: init at 0.0.3.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/text-display.nix | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 pkgs/text-display.nix diff --git a/manifest.dhall b/manifest.dhall index 60be5b60..ab7bd838 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -409,6 +409,7 @@ in [ callHackage "Cabal" "3.8.1.0" (None Text) (Some "hunit") , callHackage "tasty-wai" "0.1.2.0" + , callHackage "text-display" "0.0.3.0" , callHackage "text-metrics" "0.3.2" , callHackage "text-zipper" "0.12" , callHackage "these" "1.1.1.1" diff --git a/overlay.nix b/overlay.nix index 61c65746..8c3a27a8 100644 --- a/overlay.nix +++ b/overlay.nix @@ -491,6 +491,8 @@ final: prev: with pkgs.haskell.lib; { tasty-wai = prev.callPackage (./pkgs/tasty-wai.nix) { }; + text-display = prev.callPackage (./pkgs/text-display.nix) { }; + text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { }; text-zipper = prev.callPackage (./pkgs/text-zipper.nix) { }; diff --git a/pkgs/text-display.nix b/pkgs/text-display.nix new file mode 100644 index 00000000..9fb5b8a5 --- /dev/null +++ b/pkgs/text-display.nix @@ -0,0 +1,19 @@ +{ mkDerivation, base, bytestring, hspec, lib, quickcheck-text +, should-not-typecheck, text +}: +mkDerivation { + pname = "text-display"; + version = "0.0.3.0"; + sha256 = "4c7b94ba7776874f4dbbf0a686e8039fd1d174af7ba7477bac92c8af198d6fae"; + libraryHaskellDepends = [ base bytestring text ]; + testHaskellDepends = [ + base bytestring hspec quickcheck-text should-not-typecheck text + ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/haskell-text/text-display#readme"; + description = "A typeclass for user-facing output"; + license = lib.licenses.mit; +} \ No newline at end of file -- GitLab