Added new (modular) gtk2hs and threadscope.

svn path=/nixpkgs/trunk/; revision=24086
This commit is contained in:
Andres Löh 2010-10-05 17:30:17 +00:00
parent 01955a51a2
commit 657572abc8
9 changed files with 108 additions and 4 deletions

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "cairo";
version = "0.11.0";
sha256 = "f7971180bbd40c2a19b2e97fe40bd4a296b3aaf3edcf6621009780d723405c5a";
version = "0.11.1";
sha256 = "6d7209bcdb92b09437980c51646c324f501edd2893393e48aa185462dfc07b58";
extraBuildInputs = [pkgconfig glibc cairo zlib gtk2hsBuildtools];
propagatedBuildInputs = [mtl];
meta = {

View File

@ -0,0 +1,13 @@
{cabal, binary, mtl}:
cabal.mkDerivation (self : {
pname = "ghc-events";
version = "0.2.0.1";
sha256 = "18cb82ebe143f58a25bf32ee88118a8bfb333b67a53285c2550e866f2afebbc6";
propagatedBuildInputs = [binary mtl];
meta = {
description = "Library and tool for parsing .eventlog files from GHC";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -0,0 +1,14 @@
{cabal, cairo, glib, gtk, mtl, pango, gtk2hsBuildtools, pkgconfig, gnome, glibc}:
cabal.mkDerivation (self : {
pname = "glade";
version = "0.11.1";
sha256 = "0d96a8576f89a81aa1ecdaf172e42e9eb1e7b40ce1b23cff36ab473165832c6a";
extraBuildInputs = [pkgconfig gtk2hsBuildtools gnome.libglade gnome.gtk glibc];
propagatedBuildInputs = [cairo glib gtk mtl pango];
meta = {
description = "Binding to the glade library";
license = "LGPLv2+";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -0,0 +1,13 @@
{cabal, gtk2hsBuildtools, pkgconfig, glib, glibc}:
cabal.mkDerivation (self : {
pname = "glib";
version = "0.11.2";
sha256 = "e0fb5f3c22701807db364dff86d55f2a33a57d8a4e58d37a80d367bca50b3dbb";
extraBuildInputs = [pkgconfig glib glibc gtk2hsBuildtools];
meta = {
description = "Binding to the GLIB library for Gtk2Hs";
license = "LGPLv2+";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -0,0 +1,14 @@
{cabal, cairo, glib, mtl, pango, gtk2hsBuildtools, pkgconfig, gtk, glibc}:
cabal.mkDerivation (self : {
pname = "gtk";
version = "0.11.2";
sha256 = "c9de86278780badbd874fb75ef01ca12a70364a9985b75f98957ba940df27aa6";
extraBuildInputs = [pkgconfig gtk2hsBuildtools gtk glibc];
propagatedBuildInputs = [cairo glib mtl pango];
meta = {
description = "Binding to the Gtk+ graphical user interface library";
license = "LGPLv2+";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self : {
pname = "gtk2hs-buildtools";
version = "0.9";
sha256 = "2586c419394601c1840d827d32cdb9d76bc94d71c03fdfa23c8d04cba99c6b20";
version = "0.11.2";
sha256 = "330c52830358966bcff308f58a570e84bb0b4d6004b6f01107d55dd88faa54ad";
extraBuildInputs = [alex happy];
meta = {
description = "Tools to build the Gtk2Hs suite of User Interface libraries";

View File

@ -0,0 +1,14 @@
{cabal, cairo, glib, mtl, gtk2hsBuildtools, pkgconfig, pango, glibc}:
cabal.mkDerivation (self : {
pname = "pango";
version = "0.11.2";
sha256 = "fb7f5dc303d3d49a330aaa3acf29560f78746edb9c67f6191756baa1b08fb504";
extraBuildInputs = [pkgconfig gtk2hsBuildtools pango glibc];
propagatedBuildInputs = [cairo glib mtl];
meta = {
description = "Binding to the Pango text rendering engine";
license = "LGPLv2+";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -0,0 +1,14 @@
{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];
meta = {
description = "A graphical thread profiler";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -137,6 +137,8 @@ rec {
ghcCore = callPackage ../development/libraries/haskell/ghc-core {};
ghcEvents = callPackage ../development/libraries/haskell/ghc-events {};
ghcMtl = callPackage ../development/libraries/haskell/ghc-mtl {};
ghcPaths_0_1_0_6 = callPackage ../development/libraries/haskell/ghc-paths/0.1.0.6.nix {};
@ -151,6 +153,14 @@ rec {
network = network_2_2_1_7;
};
glade = callPackage ../development/libraries/haskell/glade {
inherit (pkgs) pkgconfig gnome glibc;
};
glib = callPackage ../development/libraries/haskell/glib {
inherit (pkgs) pkgconfig glib glibc;
};
GlomeVec = callPackage ../development/libraries/haskell/GlomeVec {};
GLUT2121 = callPackage ../development/libraries/haskell/GLUT/2.1.2.1.nix {
@ -166,6 +176,11 @@ rec {
inherit (pkgs.xlibs) libSM libICE libXmu libXi;
};
gtk = callPackage ../development/libraries/haskell/gtk {
inherit (pkgs) pkgconfig glibc;
inherit (pkgs.gtkLibs) gtk;
};
gtk2hs = callPackage ../development/libraries/haskell/gtk2hs {
inherit (pkgs) pkgconfig gnome cairo;
};
@ -417,6 +432,11 @@ rec {
random = random_newtime;
};
pango = callPackage ../development/libraries/haskell/pango {
inherit (pkgs) pkgconfig glibc;
inherit (pkgs.gtkLibs) pango;
};
parallel_2_2_0_1 = callPackage ../development/libraries/haskell/parallel/2.2.0.1.nix {};
parallel = callPackage ../development/libraries/haskell/parallel {};
@ -732,6 +752,8 @@ rec {
tar = callPackage ../development/tools/haskell/tar {};
threadscope = callPackage ../development/tools/haskell/threadscope {};
uuagc = callPackage ../development/tools/haskell/uuagc {};
# Applications.