diff --git a/pkgs/development/libraries/haskell/bytestring-trie/default.nix b/pkgs/development/libraries/haskell/bytestring-trie/default.nix new file mode 100644 index 000000000000..8cbc0f30ea3e --- /dev/null +++ b/pkgs/development/libraries/haskell/bytestring-trie/default.nix @@ -0,0 +1,14 @@ +{cabal, binary}: + +cabal.mkDerivation (self : { + pname = "bytestring-trie"; + version = "0.2.3"; + sha256 = "1zb4s7fd951swc648szrpx0ldailmdinapgbcg1zajb5c5jq57ga"; + propagatedBuildInputs = [binary]; + meta = { + description = "An efficient finite map from (byte)strings to values"; + license = "BSD3"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/development/libraries/haskell/hp2any-core/default.nix b/pkgs/development/libraries/haskell/hp2any-core/default.nix new file mode 100644 index 000000000000..b7e7d1da40dc --- /dev/null +++ b/pkgs/development/libraries/haskell/hp2any-core/default.nix @@ -0,0 +1,14 @@ +{cabal, bytestringTrie, network}: + +cabal.mkDerivation (self : { + pname = "hp2any-core"; + version = "0.10.1"; + sha256 = "1qblsvlj4x22ml3k5mlr28r5xk9rmi7lpipd369dbvdzm0rflf03"; + propagatedBuildInputs = [bytestringTrie network]; + meta = { + description = "Heap profiling helper library"; + license = "BSD3"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/development/libraries/haskell/hp2any-graph/default.nix b/pkgs/development/libraries/haskell/hp2any-graph/default.nix new file mode 100644 index 000000000000..b0e3d3ddfcde --- /dev/null +++ b/pkgs/development/libraries/haskell/hp2any-graph/default.nix @@ -0,0 +1,14 @@ +{cabal, GLUT, OpenGL, hp2anyCore, network, parseargs}: + +cabal.mkDerivation (self : { + pname = "hp2any-graph"; + version = "0.5.3"; + sha256 = "1al20pxfgkgwynrx7vr0i57342s91lcm3cnd9qjx8b6vkqmzykkq"; + propagatedBuildInputs = [GLUT OpenGL hp2anyCore network parseargs]; + meta = { + description = "Real-time heap graphing utility and profile stream server with a reusable graphing module"; + license = "BSD3"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/development/libraries/haskell/parseargs/default.nix b/pkgs/development/libraries/haskell/parseargs/default.nix index f105aaf5cfb2..08a5ac652e57 100644 --- a/pkgs/development/libraries/haskell/parseargs/default.nix +++ b/pkgs/development/libraries/haskell/parseargs/default.nix @@ -2,8 +2,8 @@ cabal.mkDerivation (self : { pname = "parseargs"; - version = "0.1.2"; - sha256 = "93e34497bc3921f245474a8fc1807303211cf5ab40f0b655e02eb0242ef75694"; + version = "0.1.3.2"; + sha256 = "1ncdbjzfkhb1f3aznsci26kss9nrv3iilc65q5xdl9nly8p837mv"; meta = { description = "Command-line argument parsing library for Haskell programs"; }; diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 09cc5606adfe..03df774c4c85 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -365,6 +365,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); bytestringNums = callPackage ../development/libraries/haskell/bytestring-nums {}; + bytestringTrie = callPackage ../development/libraries/haskell/bytestring-trie {}; + cairo = callPackage ../development/libraries/haskell/cairo { inherit (pkgs) cairo zlib; }; @@ -617,6 +619,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hostname = callPackage ../development/libraries/haskell/hostname {}; + hp2anyCore = callPackage ../development/libraries/haskell/hp2any-core {}; + + hp2anyGraph = callPackage ../development/libraries/haskell/hp2any-graph {}; + hscolour = callPackage ../development/libraries/haskell/hscolour {}; hsemail = callPackage ../development/libraries/haskell/hsemail {};