diff --git a/manifest.dhall b/manifest.dhall index d728739805ffd47f203a816aba21ce408b46a107..01e5e6ec76fcc69499cf938121234615d9f174a3 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -127,6 +127,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "citeproc" "0.8.0.1" , callHackage "co-log-core" "0.3.1.0" , callHackage "co-log-polysemy" "0.0.1.3" + , callHackage "colourista" "0.1.0.1" , callHackage "commonmark-extensions" "0.2.3.3" , callHackage "commonmark-pandoc" "0.2.1.2" , callHackage "commonmark" "0.2.2" diff --git a/overlay.nix b/overlay.nix index e808f0b1ffeaf76b639f647d3eb0ebbe3b148292..2b710499780a768380292fc078307c77744c624a 100644 --- a/overlay.nix +++ b/overlay.nix @@ -129,6 +129,8 @@ final: prev: with pkgs.haskell.lib; { co-log-polysemy = prev.callPackage (./pkgs/co-log-polysemy.nix) { }; + colourista = prev.callPackage (./pkgs/colourista.nix) { }; + commonmark = prev.callPackage (./pkgs/commonmark.nix) { }; commonmark-extensions = prev.callPackage (./pkgs/commonmark-extensions.nix) { }; diff --git a/pkgs/colourista.nix b/pkgs/colourista.nix new file mode 100644 index 0000000000000000000000000000000000000000..b1bd2d4c418a5346154d3ce7a752ba87c7ee72af --- /dev/null +++ b/pkgs/colourista.nix @@ -0,0 +1,36 @@ +{ mkDerivation +, ansi-terminal +, base +, bytestring +, ghc-prim +, hspec +, lib +, text +}: +mkDerivation { + pname = "colourista"; + version = "0.1.0.1"; + sha256 = "6ebd9a0ab5479ed0de649ad7326eb08279c1b71a0db72da4b2ca4f61bafa709a"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + ansi-terminal + base + bytestring + ghc-prim + text + ]; + testHaskellDepends = [ base bytestring hspec text ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/kowainik/colourista"; + description = "Convenient interface for printing colourful messages"; + license = lib.licenses.mpl20; + broken = false; +}