Updated ghc-events and threadscope.

svn path=/nixpkgs/trunk/; revision=29023
This commit is contained in:
Andres Löh 2011-09-05 09:52:34 +00:00
parent 51ccaadce3
commit 1e6eeb9ad7
2 changed files with 12 additions and 13 deletions

View File

@ -1,13 +1,12 @@
{cabal, binary, mtl}: { cabal, binary, mtl }:
cabal.mkDerivation (self : { cabal.mkDerivation (self: {
pname = "ghc-events"; pname = "ghc-events";
version = "0.2.0.1"; version = "0.3.0.1";
sha256 = "18cb82ebe143f58a25bf32ee88118a8bfb333b67a53285c2550e866f2afebbc6"; sha256 = "08jnri6cwybg8b2f53rn8y1xzcpz32r0svahcw01g837p07mcpla";
propagatedBuildInputs = [binary mtl]; isLibrary = true;
preConfigure = '' isExecutable = true;
sed -i 's|\(containers.*\) && < 0.4|\1|' ${self.pname}.cabal buildDepends = [ binary mtl ];
'';
meta = { meta = {
description = "Library and tool for parsing .eventlog files from GHC"; description = "Library and tool for parsing .eventlog files from GHC";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;

View File

@ -1,15 +1,15 @@
{ cabal, binary, cairo, ghcEvents, glade, gtk, mtl }: { cabal, binary, cairo, ghcEvents, glib, gtk, mtl, pango }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "threadscope"; pname = "threadscope";
version = "0.1.3"; version = "0.2.0";
sha256 = "1vak3624vrnkfvwxzfw5hkc0552v213jb874f6q536g5vhjjxpih"; sha256 = "0b8lc8han4d90wgzliy80l1gbkm09gg6qxsn37blj41wzl6yzr9k";
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
buildDepends = [ binary cairo ghcEvents glade gtk mtl ]; buildDepends = [ binary cairo ghcEvents glib gtk mtl pango ];
configureFlags = "--ghc-options=-rtsopts"; configureFlags = "--ghc-options=-rtsopts";
meta = { meta = {
description = "A graphical thread profiler"; description = "A graphical tool for profiling parallel Haskell programs";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms; platforms = self.ghc.meta.platforms;
maintainers = [ maintainers = [