diff --git a/manifest.dhall b/manifest.dhall index 1068991177f86ed73a0188ba18bb2957fdb3cfdb..62f018332a2bf6a100f21c9c6ea5eee25fdfa756 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -124,6 +124,11 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/NorfairKing/cursor-dirforest" (Some "6ad5b168e26eb4e647df9f007d812aaf59338d40") (Some "cursor-dirforest") + , callCabal2nix + "cursor-dirforest-brick" + "https://github.com/NorfairKing/cursor-dirforest" + (Some "6ad5b168e26eb4e647df9f007d812aaf59338d40") + (Some "cursor-dirforest-brick") , callHackage "cryptonite" "0.30" , callHackage "cryptohash-sha1" "0.11.101.0" , callHackage "data-fix" "0.3.2" diff --git a/overlay.nix b/overlay.nix index 1838dec9041e1b6ede1a3ca9513c1d837a64c1ad..11943f73e24b8670038f2b56a2558d45a3b5a86a 100644 --- a/overlay.nix +++ b/overlay.nix @@ -111,6 +111,8 @@ final: prev: with pkgs.haskell.lib; { cursor-dirforest = prev.callPackage (./pkgs/cursor-dirforest.nix) { }; + cursor-dirforest-brick = prev.callPackage (./pkgs/cursor-dirforest-brick.nix) { }; + data-fix = prev.callPackage (./pkgs/data-fix.nix) { }; dec = prev.callPackage (./pkgs/dec.nix) { }; diff --git a/pkgs/cursor-dirforest-brick.nix b/pkgs/cursor-dirforest-brick.nix new file mode 100644 index 0000000000000000000000000000000000000000..604db07586b4759f9bac9866e8603a80bd624ec0 --- /dev/null +++ b/pkgs/cursor-dirforest-brick.nix @@ -0,0 +1,24 @@ +{ mkDerivation, base, brick, containers, cursor, cursor-brick +, cursor-dirforest, dirforest, fetchgit, lib, vty +}: +mkDerivation { + pname = "cursor-dirforest-brick"; + version = "0.0.0.0"; + src = fetchgit { + url = "https://github.com/NorfairKing/cursor-dirforest"; + sha256 = "0miy6chdyi8jjfivcpigyglhlx6x7f676n47vybjnpdhggv0kh2j"; + rev = "6ad5b168e26eb4e647df9f007d812aaf59338d40"; + fetchSubmodules = true; + }; + postUnpack = "sourceRoot+=/cursor-dirforest-brick/; echo source root reset to $sourceRoot"; + libraryHaskellDepends = [ + base brick containers cursor cursor-brick cursor-dirforest + dirforest vty + ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/NorfairKing/cursor-dirforest#readme"; + license = lib.licenses.mit; +} \ No newline at end of file