nixpkgs-suyu/pkgs/development/libraries/haskell/ghc-heap-view/default.nix

18 lines
590 B
Nix

{ cabal, binary, transformers }:
cabal.mkDerivation (self: {
pname = "ghc-heap-view";
version = "0.5.1";
sha256 = "1qi7f3phj2j63x1wd2cvk36945cxd84s12zs03hlrn49wzx2pf1n";
buildDepends = [ binary transformers ];
postInstall = ''
ensureDir "$out/share/ghci"
ln -s "$out/share/$pname-$version/ghci" "$out/share/ghci/$pname"
'';
meta = {
description = "Extract the heap representation of Haskell values and thunks";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})