Add haskell-ghc-vis, haskell-heap-view and deps.

This commit is contained in:
Andres Loeh 2013-02-02 20:26:09 +01:00
parent b73b7e29bd
commit ac1d2a1221
4 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ cabal, transformers }:
cabal.mkDerivation (self: {
pname = "ghc-heap-view";
version = "0.4.1.0";
sha256 = "1icq5620j37n85d08yfpln75f9944flbqyqhjqsf0qr72zsm3w11";
buildDepends = [ transformers ];
meta = {
description = "Extract the heap representation of Haskell values and thunks";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -0,0 +1,20 @@
{ cabal, cairo, deepseq, fgl, ghcHeapView, graphviz, gtk, mtl
, svgcairo, text, transformers, xdot
}:
cabal.mkDerivation (self: {
pname = "ghc-vis";
version = "0.6";
sha256 = "0gvfs0f6fjg4bzq9q6rrhin6gk1pbyw9qbigi90cz1fg10nq7nzi";
buildDepends = [
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
transformers xdot
];
meta = {
homepage = "http://felsin9.de/nnis/ghc-vis";
description = "Live visualization of data structures in GHCi";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -0,0 +1,14 @@
{ cabal, cairo, graphviz, gtk, mtl, polyparse, text }:
cabal.mkDerivation (self: {
pname = "xdot";
version = "0.2.2";
sha256 = "1n7lwshfn5rzbk4fxlkn02fxki2xh5m0304hnb1d5mchxyzhfdan";
buildDepends = [ cairo graphviz gtk mtl polyparse text ];
meta = {
description = "Parse Graphviz xdot files and interactively view them using GTK and Cairo";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -835,6 +835,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
ghcEvents = callPackage ../development/libraries/haskell/ghc-events {}; ghcEvents = callPackage ../development/libraries/haskell/ghc-events {};
ghcHeapView = callPackage ../development/libraries/haskell/ghc-heap-view {
cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled
};
ghcMod = callPackage ../development/libraries/haskell/ghc-mod { ghcMod = callPackage ../development/libraries/haskell/ghc-mod {
inherit (pkgs) emacs; inherit (pkgs) emacs;
}; };
@ -847,6 +851,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
ghcSybUtils = callPackage ../development/libraries/haskell/ghc-syb-utils {}; ghcSybUtils = callPackage ../development/libraries/haskell/ghc-syb-utils {};
ghcVis = callPackage ../development/libraries/haskell/ghc-vis {
cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled
};
gio = callPackage ../development/libraries/haskell/gio {}; gio = callPackage ../development/libraries/haskell/gio {};
gitit = callPackage ../development/libraries/haskell/gitit {}; gitit = callPackage ../development/libraries/haskell/gitit {};
@ -1825,6 +1833,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
X11Xft = callPackage ../development/libraries/haskell/X11-xft {}; X11Xft = callPackage ../development/libraries/haskell/X11-xft {};
xdot = callPackage ../development/libraries/haskell/xdot {
polyparse = self.polyparse_1_7;
};
xhtml_3000_2_0_1 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.1.nix {}; xhtml_3000_2_0_1 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.1.nix {};
xhtml_3000_2_0_4 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.4.nix {}; xhtml_3000_2_0_4 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.4.nix {};
xhtml_3000_2_0_5 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.5.nix {}; xhtml_3000_2_0_5 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.5.nix {};