diff --git a/manifest.dhall b/manifest.dhall index a57fbc7449eb67a304964bb7d23f71880357b8ed..6f2907ae81317abff768f5d0b9605f79353aaebe 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 c223a2ee63c2b8ac16c60a2f61740b5d4eb988be..2d573eff195f033eb1c1d9cac8d0a49b6ba73a2c 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 0000000000000000000000000000000000000000..c2844fe7f657c46667d693684daaa843f7092107 --- /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; +}