2013-04-23 09:35:24 +00:00
|
|
|
{ cabal, binary, transformers }:
|
2013-02-02 19:26:09 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ghc-heap-view";
|
2013-06-20 10:08:28 +00:00
|
|
|
version = "0.5.1";
|
|
|
|
sha256 = "1qi7f3phj2j63x1wd2cvk36945cxd84s12zs03hlrn49wzx2pf1n";
|
2013-04-23 09:35:24 +00:00
|
|
|
buildDepends = [ binary transformers ];
|
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 = {
|
|
|
|
description = "Extract the heap representation of Haskell values and thunks";
|
|
|
|
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
|
|
|
};
|
|
|
|
})
|