diff --git a/pkgs/development/tools/haskell/hp2any-manager/default.nix b/pkgs/development/tools/haskell/hp2any-manager/default.nix new file mode 100644 index 000000000000..2189d52f707e --- /dev/null +++ b/pkgs/development/tools/haskell/hp2any-manager/default.nix @@ -0,0 +1,21 @@ +{ cabal, cairo, filepath, glade, glib, gtk, gtkglext, hp2anyCore +, hp2anyGraph, OpenGL, time +}: + +cabal.mkDerivation (self: { + pname = "hp2any-manager"; + version = "0.4.6"; + sha256 = "143j3ylvzyq1s2l357vzqrwdcgg6rqhnmv0awb3nvm66c9smaarv"; + isLibrary = false; + isExecutable = true; + buildDepends = [ + cairo filepath glade glib gtk gtkglext hp2anyCore hp2anyGraph + OpenGL time + ]; + meta = { + homepage = "http://www.haskell.org/haskellwiki/Hp2any"; + description = "A utility to visualise and compare heap profiles"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 697207ceffb3..af3ba8a215df 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2655,6 +2655,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in hlint = callPackage ../development/tools/haskell/hlint {}; + hp2anyManager = callPackage ../development/tools/haskell/hp2any-manager {}; + hscolour = callPackage ../development/tools/haskell/hscolour {}; hscolourBootstrap = self.hscolour.override { cabal = self.cabal.override {