2013-02-02 19:26:09 +00:00
|
|
|
{ cabal, cairo, deepseq, fgl, ghcHeapView, graphviz, gtk, mtl
|
|
|
|
, svgcairo, text, transformers, xdot
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ghc-vis";
|
2014-05-24 08:55:28 +00:00
|
|
|
version = "0.7.2.2";
|
|
|
|
sha256 = "0abk76cy9qiblyways1r7jfsj996sj4laawzaz1j9p546plfkbnj";
|
2013-02-02 19:26:09 +00:00
|
|
|
buildDepends = [
|
|
|
|
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
|
|
|
|
transformers xdot
|
|
|
|
];
|
2014-05-24 08:55:28 +00:00
|
|
|
jailbreak = true;
|
2013-08-08 13:43:45 +00:00
|
|
|
postInstall = ''
|
2013-08-17 09:39:11 +00:00
|
|
|
ensureDir "$out/share/ghci"
|
|
|
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
|
|
|
'';
|
2013-02-02 19:26:09 +00:00
|
|
|
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;
|
2013-05-10 22:36:36 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2013-02-02 19:26:09 +00:00
|
|
|
};
|
|
|
|
})
|