forked from mirrors/nixpkgs
Added HLint plus dependencies.
svn path=/nixpkgs/trunk/; revision=15231
This commit is contained in:
parent
672890153e
commit
e62cb1aa20
11
pkgs/development/libraries/haskell/hscolour/default.nix
Normal file
11
pkgs/development/libraries/haskell/hscolour/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hscolour";
|
||||
version = "1.10.1";
|
||||
sha256 = "293f24b8373be1d70d9e5a4b8d3c527166ad645b4ac983c1a6fc5999c44a2d36";
|
||||
meta = {
|
||||
description = "Colourise Haskell code";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/uniplate/default.nix
Normal file
12
pkgs/development/libraries/haskell/uniplate/default.nix
Normal file
|
@ -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";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/tools/haskell/hlint/default.nix
Normal file
12
pkgs/development/tools/haskell/hlint/default.nix
Normal file
|
@ -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";
|
||||
};
|
||||
})
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue