diff --git a/manifest.dhall b/manifest.dhall index 013ab3fa0cf7c6a62e3088c3c5c7aacd0422c883..0164c2ae6c3b80ac5619697e84105e9d6e6ebf89 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -129,6 +129,11 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/NorfairKing/cursor-dirforest" (Some "6ad5b168e26eb4e647df9f007d812aaf59338d40") (Some "cursor-dirforest-brick") + , callCabal2nix + "cursor-dirforest-gen" + "https://github.com/NorfairKing/cursor-dirforest" + (Some "6ad5b168e26eb4e647df9f007d812aaf59338d40") + (Some "cursor-dirforest-gen") , 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 d29d8e2045361b2f6134850743f8310d46d31e43..fd2e95659f1a5d179c2b6b378dc8681bddfb3028 100644 --- a/overlay.nix +++ b/overlay.nix @@ -113,6 +113,8 @@ final: prev: with pkgs.haskell.lib; { cursor-dirforest-brick = prev.callPackage (./pkgs/cursor-dirforest-brick.nix) { }; + cursor-dirforest-gen = prev.callPackage (./pkgs/cursor-dirforest-gen.nix) { }; + data-fix = prev.callPackage (./pkgs/data-fix.nix) { }; dec = prev.callPackage (./pkgs/dec.nix) { }; diff --git a/pkgs/cursor-dirforest-gen.nix b/pkgs/cursor-dirforest-gen.nix new file mode 100644 index 0000000000000000000000000000000000000000..95ad29b24ba7c1b52068806b9b072b6d46843a5c --- /dev/null +++ b/pkgs/cursor-dirforest-gen.nix @@ -0,0 +1,35 @@ +{ mkDerivation, base, containers, criterion, cursor +, cursor-dirforest, cursor-gen, dirforest, fetchgit, filepath +, genvalidity, genvalidity-containers, genvalidity-criterion +, genvalidity-dirforest, genvalidity-hspec +, genvalidity-hspec-optics, hspec, lib, path, QuickCheck +}: +mkDerivation { + pname = "cursor-dirforest-gen"; + version = "0.0.0.0"; + src = fetchgit { + url = "https://github.com/NorfairKing/cursor-dirforest"; + sha256 = "0miy6chdyi8jjfivcpigyglhlx6x7f676n47vybjnpdhggv0kh2j"; + rev = "6ad5b168e26eb4e647df9f007d812aaf59338d40"; + fetchSubmodules = true; + }; + postUnpack = "sourceRoot+=/cursor-dirforest-gen/; echo source root reset to $sourceRoot"; + libraryHaskellDepends = [ + base containers cursor cursor-dirforest cursor-gen dirforest + filepath genvalidity genvalidity-containers genvalidity-dirforest + path QuickCheck + ]; + testHaskellDepends = [ + base cursor cursor-dirforest cursor-gen dirforest genvalidity-hspec + genvalidity-hspec-optics hspec path QuickCheck + ]; + benchmarkHaskellDepends = [ + base criterion cursor-dirforest genvalidity-criterion QuickCheck + ]; + 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