2013-04-23 11:35:24 +02:00
|
|
|
{ cabal, binary, transformers }:
|
2013-02-02 20:26:09 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ghc-heap-view";
|
2013-06-20 12:08:28 +02:00
|
|
|
version = "0.5.1";
|
|
|
|
sha256 = "1qi7f3phj2j63x1wd2cvk36945cxd84s12zs03hlrn49wzx2pf1n";
|
2013-04-23 11:35:24 +02:00
|
|
|
buildDepends = [ binary transformers ];
|
2013-08-08 15:43:45 +02:00
|
|
|
postInstall = ''
|
|
|
|
ensureDir "$out/share/ghci"
|
|
|
|
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
|
|
|
|
'';
|
2013-02-02 20:26:09 +01: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-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2013-02-02 20:26:09 +01:00
|
|
|
};
|
|
|
|
})
|