diff options
author | Andres Löh | 2009-04-21 21:48:10 +0000 |
---|---|---|
committer | Andres Löh | 2009-04-21 21:48:10 +0000 |
commit | e62cb1aa2019907a6666ca4cfdefd227d126a79f (patch) | |
tree | 95ae42839b5aecbfa3b454352df952d86980ac65 | |
parent | 672890153e38829445ffff99833e25d2ee7f220f (diff) |
Added HLint plus dependencies.
svn path=/nixpkgs/trunk/; revision=15231
-rw-r--r-- | pkgs/development/libraries/haskell/hscolour/default.nix | 11 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/uniplate/default.nix | 12 | ||||
-rw-r--r-- | pkgs/development/tools/haskell/hlint/default.nix | 12 | ||||
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 12 |
4 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/hscolour/default.nix b/pkgs/development/libraries/haskell/hscolour/default.nix new file mode 100644 index 000000000000..10d702cde78f --- /dev/null +++ b/pkgs/development/libraries/haskell/hscolour/default.nix @@ -0,0 +1,11 @@ +{cabal}: + +cabal.mkDerivation (self : { + pname = "hscolour"; + version = "1.10.1"; + sha256 = "293f24b8373be1d70d9e5a4b8d3c527166ad645b4ac983c1a6fc5999c44a2d36"; + meta = { + description = "Colourise Haskell code"; + }; +}) + diff --git a/pkgs/development/libraries/haskell/uniplate/default.nix b/pkgs/development/libraries/haskell/uniplate/default.nix new file mode 100644 index 000000000000..7d7a14a8f8e0 --- /dev/null +++ b/pkgs/development/libraries/haskell/uniplate/default.nix @@ -0,0 +1,12 @@ +{cabal, mtl}: + +cabal.mkDerivation (self : { + pname = "uniplate"; + version = "1.2.0.3"; + sha256 = "77cf07c96ae62799d790284c0c84beca9ee17c9c2416d4de6641f3fddd644b58"; + propagatedBuildInputs = [mtl]; + meta = { + description = "Uniform type generic traversals"; + }; +}) + diff --git a/pkgs/development/tools/haskell/hlint/default.nix b/pkgs/development/tools/haskell/hlint/default.nix new file mode 100644 index 000000000000..80daa6e38f5e --- /dev/null +++ b/pkgs/development/tools/haskell/hlint/default.nix @@ -0,0 +1,12 @@ +{cabal, haskellSrcExts, mtl, uniplate, hscolour}: + +cabal.mkDerivation (self : { + pname = "hlint"; + version = "1.4"; + name = self.fname; + sha256 = "deddcd8b2a2e1dce2510395dae1d6c78dc9264766e362ff378fe0f008db42e4e"; + extraBuildInputs = [haskellSrcExts mtl uniplate hscolour]; + meta = { + description = "Source code suggestions"; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 449921cfdfbc..d9ab86a6d77d 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -129,6 +129,10 @@ rec { inherit (pkgs) sqlite; }; + hscolour = import ../development/libraries/haskell/hscolour { + inherit cabal; + }; + html = import ../development/libraries/haskell/html { inherit cabal; }; @@ -222,6 +226,10 @@ rec { inherit cabal; }; + uniplate = import ../development/libraries/haskell/uniplate { + inherit cabal mtl; + }; + utf8String = import ../development/libraries/haskell/utf8-string { inherit cabal; }; @@ -321,6 +329,10 @@ rec { inherit (pkgs) perl; }; + hlint = import ../development/tools/haskell/hlint { + inherit cabal haskellSrcExts mtl uniplate hscolour; + }; + uuagc = import ../development/tools/haskell/uuagc { inherit cabal uulib; }; |