From 734d08455004ed21d659aa19ee6d1f5e9b56ec13 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 12:58:50 +0000 Subject: [PATCH] cursor-brick: init at 0.1.0.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/cursor-brick.nix | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 pkgs/cursor-brick.nix diff --git a/manifest.dhall b/manifest.dhall index e0743dc8..cb39a3db 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -148,6 +148,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "constraints" "0.13.4" , callHackage "criterion" "1.5.13.0" , callHackage "cursor" "0.3.2.0" + , callHackage "cursor-brick" "0.1.0.1" , callCabal2nix "cursor-dirforest" "https://github.com/NorfairKing/cursor-dirforest" diff --git a/overlay.nix b/overlay.nix index 576a133b..f1b2627a 100644 --- a/overlay.nix +++ b/overlay.nix @@ -169,6 +169,8 @@ final: prev: with pkgs.haskell.lib; { cursor = prev.callPackage (./pkgs/cursor.nix) { }; + cursor-brick = prev.callPackage (./pkgs/cursor-brick.nix) { }; + cursor-dirforest = prev.callPackage (./pkgs/cursor-dirforest.nix) { }; cursor-dirforest-brick = prev.callPackage (./pkgs/cursor-dirforest-brick.nix) { }; diff --git a/pkgs/cursor-brick.nix b/pkgs/cursor-brick.nix new file mode 100644 index 00000000..5ba13b63 --- /dev/null +++ b/pkgs/cursor-brick.nix @@ -0,0 +1,20 @@ +{ mkDerivation, base, brick, cursor, lib, text }: +mkDerivation { + pname = "cursor-brick"; + version = "0.1.0.1"; + sha256 = "7c07d3ad682ee8d704723376856ac4263b0d0ff5cd243b60fe7a78e4ccae1781"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base brick cursor text ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/NorfairKing/cursor-brick#readme"; + license = lib.licenses.mit; + broken = false; +} -- GitLab