diff --git a/manifest.dhall b/manifest.dhall index 757e906d2b883ea0bd81e0cccdeae325e2ac8f62..051106575a66c6bfd54ae58662352cfdfdaafb78 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -572,6 +572,7 @@ in [ callHackage "Cabal" "3.8.1.0" (Some "e212239b685e1ecf7ee95dd1e944cc563351907f") (None Text) , callHackage "tls" "1.6.0" + , callHackage "tree-diff" "0.2.2" , callHackage "trifecta" "2.1.2" , callHackage "typed-process" "0.2.10.1" , callHackage "type-errors-pretty" "0.0.1.2" diff --git a/overlay.nix b/overlay.nix index c54339bd8066a9a6a9084b979fa259fd8c3e92de..29a7c769f3a7a53dc6bc7b0116eb64066424c9c0 100644 --- a/overlay.nix +++ b/overlay.nix @@ -767,6 +767,8 @@ final: prev: with pkgs.haskell.lib; { tls = prev.callPackage (./pkgs/tls.nix) { }; + tree-diff = prev.callPackage (./pkgs/tree-diff.nix) { }; + trifecta = prev.callPackage (./pkgs/trifecta.nix) { }; type-equality = prev.callPackage (./pkgs/type-equality.nix) { }; diff --git a/pkgs/tree-diff.nix b/pkgs/tree-diff.nix new file mode 100644 index 0000000000000000000000000000000000000000..e33d02ecedf10841f5874ef58665e66030fc8d41 --- /dev/null +++ b/pkgs/tree-diff.nix @@ -0,0 +1,95 @@ +{ mkDerivation +, aeson +, ansi-terminal +, ansi-wl-pprint +, base +, base-compat +, bytestring +, bytestring-builder +, containers +, criterion +, deepseq +, Diff +, hashable +, lib +, parsec +, parsers +, pretty +, primitive +, QuickCheck +, scientific +, semialign +, strict +, tagged +, tasty +, tasty-golden +, tasty-quickcheck +, text +, these +, time +, trifecta +, unordered-containers +, uuid-types +, vector +}: +mkDerivation { + pname = "tree-diff"; + version = "0.2.2"; + sha256 = "008390239dd942095b487b4a59e54faf18d51db5a4462177f301b763c0d5743c"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + aeson + ansi-terminal + ansi-wl-pprint + base + base-compat + bytestring + bytestring-builder + containers + deepseq + hashable + parsec + parsers + pretty + primitive + QuickCheck + scientific + semialign + strict + tagged + text + these + time + unordered-containers + uuid-types + vector + ]; + testHaskellDepends = [ + ansi-terminal + ansi-wl-pprint + base + base-compat + parsec + primitive + QuickCheck + tagged + tasty + tasty-golden + tasty-quickcheck + trifecta + ]; + benchmarkHaskellDepends = [ base criterion deepseq Diff ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/phadej/tree-diff"; + description = "Diffing of (expression) trees"; + license = lib.licenses.gpl2Plus; + broken = false; +}