26 lines
778 B
Nix
26 lines
778 B
Nix
{ cabal, cairo, deepseq, fgl, ghcHeapView, graphviz, gtk, mtl
|
|
, svgcairo, text, transformers, xdot
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "ghc-vis";
|
|
version = "0.7.2.2";
|
|
sha256 = "0abk76cy9qiblyways1r7jfsj996sj4laawzaz1j9p546plfkbnj";
|
|
buildDepends = [
|
|
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
|
|
transformers xdot
|
|
];
|
|
jailbreak = true;
|
|
postInstall = ''
|
|
ensureDir "$out/share/ghci"
|
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
|
'';
|
|
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 ];
|
|
};
|
|
})
|