2013-02-02 20:26:09 +01:00
|
|
|
{ cabal, cairo, deepseq, fgl, ghcHeapView, graphviz, gtk, mtl
|
|
|
|
, svgcairo, text, transformers, xdot
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ghc-vis";
|
2013-12-23 18:32:38 +01:00
|
|
|
version = "0.7.2.1";
|
|
|
|
sha256 = "160b45bgiz2ckva70dnmkf6i9bvffaavm5wzia2lk8c65pnvc9ih";
|
2013-02-02 20:26:09 +01:00
|
|
|
buildDepends = [
|
|
|
|
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
|
|
|
|
transformers xdot
|
|
|
|
];
|
2013-08-08 15:43:45 +02:00
|
|
|
postInstall = ''
|
2013-08-17 11:39:11 +02:00
|
|
|
ensureDir "$out/share/ghci"
|
|
|
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
|
|
|
'';
|
2014-05-13 18:11:17 +02:00
|
|
|
jailbreak = true;
|
2013-02-02 20:26:09 +01: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-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2013-02-02 20:26:09 +01:00
|
|
|
};
|
|
|
|
})
|