3e0ac9b040
Several changes, some highlights: * Structure of haskell-packages.nix updated. It's now easier to select different default versions of packages for different versions of GHC. * GHC 7.0.2 is now default. * Haskell Platform 2011.2.0.0 has been added and is now default. * Several packages have been updated (gtk2hs, gitit, xmonad, darcs, ...). * Some old packages have been removed. svn path=/nixpkgs/trunk/; revision=26288
19 lines
557 B
Nix
19 lines
557 B
Nix
{cabal, binary, cairo, ghcEvents, glade, gtk, mtl}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "threadscope";
|
|
version = "0.1.2";
|
|
sha256 = "ce1116016f6b2d38e6063ba3dd147f38147a9c4399160f37aba9c50c96d00a90";
|
|
propagatedBuildInputs = [binary cairo ghcEvents glade gtk mtl];
|
|
preConfigure = ''
|
|
sed -i 's|\(containers.*\) && < 0.4|\1|' ${self.pname}.cabal
|
|
'';
|
|
configureFlags = "--ghc-options=-rtsopts";
|
|
meta = {
|
|
description = "A graphical thread profiler";
|
|
license = "BSD";
|
|
maintainers = [self.stdenv.lib.maintainers.andres];
|
|
};
|
|
})
|
|
|