2013-04-23 10:35:24 +01:00
|
|
|
{ cabal, binary, transformers }:
|
2013-02-02 19:26:09 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ghc-heap-view";
|
2013-06-20 11:08:28 +01:00
|
|
|
version = "0.5.1";
|
|
|
|
sha256 = "1qi7f3phj2j63x1wd2cvk36945cxd84s12zs03hlrn49wzx2pf1n";
|
2013-04-23 10:35:24 +01:00
|
|
|
buildDepends = [ binary transformers ];
|
2013-08-08 14:43:45 +01:00
|
|
|
postInstall = ''
|
|
|
|
ensureDir "$out/share/ghci"
|
|
|
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
|
|
|
'';
|
2013-02-02 19:26:09 +00:00
|
|
|
meta = {
|
|
|
|
description = "Extract the heap representation of Haskell values and thunks";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2013-02-02 19:26:09 +00:00
|
|
|
};
|
|
|
|
})
|