about summary refs log tree commit diff
path: root/third_party/overlays/haskell/extra-pkgs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-12-27T13·32+0100
committertazjin <tazjin@tvl.su>2022-12-29T20·06+0000
commit5a063def51c72611c98fa2aadaa4c938a12271fa (patch)
tree7e16bd11cf6013fc6d472596b2d59df3889a3fd3 /third_party/overlays/haskell/extra-pkgs
parent86361f0f4a754370b42ae3568ece4bc43850f36b (diff)
chore(3p/sources): Bump channels & overlays r/5543
The main change is that nixpkgs updated to GHC 9.2 and Stackage LTS-20,
so we suffer from a bit of churn.

* //3p/overlays/haskell:

  - use updated dhall-nix patch for hnix 0.16

  - use superrecord fork with fixes for GHC 9.2

  - use graphmod-1.4.5.1 which has support for GHC 9.2

* //users/Profpatsch: relax constraints on base in Haskell pkgs

* //users/Profpatsch/cas-serve: inherit superrecord from 3p

* //users/grfn/xanthous:

  - //3p/overlays/haskell for 8.10.7:

    * Provide missing dependency of binary-orphans. Fix already commited
      upstream as e238c3fdaab710a2ce0135e5a77cd7e6bb023a22, can be
      dropped when channel advances.

    * Downgrade to brick 0.71.1, the latest version xanthous supports.

  - Adjust to generic-arbitrary >= 1.0, providing Arg constraints where
    necessary.

  - Increase constraint-solver-iterations to 6 (default 4), so
    Xanthous.Command and Xanthous.Data can be typechecked.

  - Drop NFData instances for Key and Modifier which have been added to
    vty upstream.

Change-Id: I2170438c2ce8130b65f1a9fe07c4fecab5683d66
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7654
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/overlays/haskell/extra-pkgs')
-rw-r--r--third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix70
-rw-r--r--third_party/overlays/haskell/extra-pkgs/graphmod-1.4.5.1.nix33
2 files changed, 103 insertions, 0 deletions
diff --git a/third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix b/third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix
new file mode 100644
index 000000000000..e49be075c65b
--- /dev/null
+++ b/third_party/overlays/haskell/extra-pkgs/brick-0.71.1.nix
@@ -0,0 +1,70 @@
+{ mkDerivation
+, base
+, bytestring
+, config-ini
+, containers
+, contravariant
+, data-clist
+, deepseq
+, directory
+, dlist
+, exceptions
+, filepath
+, lib
+, microlens
+, microlens-mtl
+, microlens-th
+, QuickCheck
+, stm
+, template-haskell
+, text
+, text-zipper
+, transformers
+, unix
+, vector
+, vty
+, word-wrap
+}:
+mkDerivation {
+  pname = "brick";
+  version = "0.71.1";
+  sha256 = "49701466384534b131650bec0a2b3c4811b410a3e55a392edef8d5fa6322d254";
+  isLibrary = true;
+  isExecutable = true;
+  libraryHaskellDepends = [
+    base
+    bytestring
+    config-ini
+    containers
+    contravariant
+    data-clist
+    deepseq
+    directory
+    dlist
+    exceptions
+    filepath
+    microlens
+    microlens-mtl
+    microlens-th
+    stm
+    template-haskell
+    text
+    text-zipper
+    transformers
+    unix
+    vector
+    vty
+    word-wrap
+  ];
+  testHaskellDepends = [
+    base
+    containers
+    microlens
+    QuickCheck
+    vector
+    vty
+  ];
+  homepage = "https://github.com/jtdaugherty/brick/";
+  description = "A declarative terminal user interface library";
+  license = lib.licenses.bsd3;
+}
diff --git a/third_party/overlays/haskell/extra-pkgs/graphmod-1.4.5.1.nix b/third_party/overlays/haskell/extra-pkgs/graphmod-1.4.5.1.nix
new file mode 100644
index 000000000000..d11e739cdd4b
--- /dev/null
+++ b/third_party/overlays/haskell/extra-pkgs/graphmod-1.4.5.1.nix
@@ -0,0 +1,33 @@
+{ mkDerivation
+, base
+, Cabal
+, containers
+, directory
+, dotgen
+, filepath
+, haskell-lexer
+, lib
+, pretty
+}:
+mkDerivation {
+  pname = "graphmod";
+  version = "1.4.5.1";
+  sha256 = "d72b70dd47ba85756e963681307d8dcf341e9d1f0c3b50bd34c33a4e429436cc";
+  isLibrary = true;
+  isExecutable = true;
+  libraryHaskellDepends = [
+    base
+    Cabal
+    containers
+    directory
+    dotgen
+    filepath
+    haskell-lexer
+    pretty
+  ];
+  executableHaskellDepends = [ base ];
+  homepage = "http://github.com/yav/graphmod/wiki";
+  description = "Present the module dependencies of a program as a \"dot\" graph";
+  license = lib.licenses.bsd3;
+  mainProgram = "graphmod";
+}