From f7f13a7e46e4922378b1fbd880fccb7ddf2df289 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 08:53:33 +0000 Subject: [PATCH] text-short: init at 0.1.5 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/text-short.nix | 54 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 pkgs/text-short.nix diff --git a/manifest.dhall b/manifest.dhall index a57fbc74..6f2907ae 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -485,6 +485,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "test-framework-quickcheck2" "0.3.0.5" , callHackage "text-display" "0.0.3.0" , callHackage "text-metrics" "0.3.2" + , callHackage "text-short" "0.1.5" , callHackage "text-zipper" "0.12" , callHackage "these" "1.1.1.1" , callHackage "these-skinny" "0.7.5" diff --git a/overlay.nix b/overlay.nix index c223a2ee..2d573eff 100644 --- a/overlay.nix +++ b/overlay.nix @@ -603,6 +603,8 @@ final: prev: with pkgs.haskell.lib; { text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { }; + text-short = prev.callPackage (./pkgs/text-short.nix) { }; + text-zipper = prev.callPackage (./pkgs/text-zipper.nix) { }; tf-random = prev.callPackage (./pkgs/tf-random.nix) { }; diff --git a/pkgs/text-short.nix b/pkgs/text-short.nix new file mode 100644 index 00000000..c2844fe7 --- /dev/null +++ b/pkgs/text-short.nix @@ -0,0 +1,54 @@ +{ mkDerivation +, base +, binary +, bytestring +, deepseq +, ghc-prim +, hashable +, lib +, tasty +, tasty-hunit +, tasty-quickcheck +, template-haskell +, text +}: +mkDerivation { + pname = "text-short"; + version = "0.1.5"; + sha256 = "a35ec6cde2ada084c1a050dc5885be5ab01f851b93d744cf0facbc1c18002dda"; + revision = "1"; + editedCabalFile = "0gmmwwchy9312kz8kr5jhiamqrnjqxdqg1wkrww4289yfj1p7dzb"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + binary + bytestring + deepseq + ghc-prim + hashable + template-haskell + text + ]; + testHaskellDepends = [ + base + binary + bytestring + tasty + tasty-hunit + tasty-quickcheck + template-haskell + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Memory-efficient representation of Unicode text strings"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab