From b76db1c8aceb619952da701abff515733f5f98d9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Dec 2011 18:07:29 +0000 Subject: [PATCH] haskell-SourceGraph: added version 0.7.0.1 svn path=/nixpkgs/trunk/; revision=30813 --- .../tools/haskell/SourceGraph/default.nix | 24 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/tools/haskell/SourceGraph/default.nix diff --git a/pkgs/development/tools/haskell/SourceGraph/default.nix b/pkgs/development/tools/haskell/SourceGraph/default.nix new file mode 100644 index 000000000000..0987989051f1 --- /dev/null +++ b/pkgs/development/tools/haskell/SourceGraph/default.nix @@ -0,0 +1,24 @@ +{ cabal, extensibleExceptions, fgl, Graphalyze, graphviz +, haskellSrcExts, mtl, multiset, random +}: + +cabal.mkDerivation (self: { + pname = "SourceGraph"; + version = "0.7.0.1"; + sha256 = "0f6h240a72cxa65cwjrp34cx80c6frzhgl9dpv3krc8xzhxssk78"; + isLibrary = false; + isExecutable = true; + buildDepends = [ + extensibleExceptions fgl Graphalyze graphviz haskellSrcExts mtl + multiset random + ]; + meta = { + description = "Static code analysis using graph-theoretic techniques"; + license = "GPL"; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index dbc6b1744157..ff1e98e3ff87 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1426,6 +1426,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hslogger = callPackage ../development/tools/haskell/hslogger {}; + SourceGraph = callPackage ../development/tools/haskell/SourceGraph {}; + tar = callPackage ../development/tools/haskell/tar {}; threadscope = callPackage ../development/tools/haskell/threadscope {};