diff --git a/manifest.dhall b/manifest.dhall index 010e2aa2d054d85b23a89c78d9635b274ea72179..d30789945ebd46a60655f11089e7ba095002d453 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -529,6 +529,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "regex-posix" "0.96.0.1" , callHackage "refined" "0.8" , callHackage "reflection" "2.1.6" + , callHackage "repline" "0.4.2.0" , callHackage "resolv" "0.1.2.0" , callHackage "resource-pool" "0.3.1.0" , callHackage "resourcet" "1.3.0" diff --git a/overlay.nix b/overlay.nix index 3ace3f99a4097bd84fb43850bb736033770dff77..8921fd2a185e09a3e4abe1e0d54ea50e0951d081 100644 --- a/overlay.nix +++ b/overlay.nix @@ -785,6 +785,8 @@ self: with pkgs.haskell.lib; { relude = self.callPackage (./pkgs/relude.nix) { }; + repline = self.callPackage (./pkgs/repline.nix) { }; + rere = self.callPackage (./pkgs/rere.nix) { }; rerebase = self.callPackage (./pkgs/rerebase.nix) { }; diff --git a/pkgs/repline.nix b/pkgs/repline.nix new file mode 100644 index 0000000000000000000000000000000000000000..6c40338d101df68cf9d23aedde1e348c92edf937 --- /dev/null +++ b/pkgs/repline.nix @@ -0,0 +1,37 @@ +{ mkDerivation +, base +, containers +, exceptions +, haskeline +, lib +, mtl +, process +}: +mkDerivation { + pname = "repline"; + version = "0.4.2.0"; + sha256 = "6181b3f106b4059eb1c86c4a442083c29335a1d9a3e7cfffecb962ec05b08d5a"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + containers + exceptions + haskeline + mtl + process + ]; + testHaskellDepends = [ base containers mtl process ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/sdiehl/repline"; + description = "Haskeline wrapper for GHCi-like REPL interfaces"; + license = lib.licenses.mit; + broken = false; +}