3
0
Fork 0
forked from mirrors/nixpkgs

haskell: add stylish-haskell

This commit is contained in:
Mathijs Kwik 2012-08-30 10:11:23 +02:00
parent b54e608807
commit 7e8240d71b
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ cabal, aeson, cmdargs, filepath, haskellSrcExts, mtl, strict, syb
, yaml
}:
cabal.mkDerivation (self: {
pname = "stylish-haskell";
version = "0.4.0.0";
sha256 = "1d5a7a5f1lbyf7if0sb9vhmnbi5ry28wakhsgh75hvgzd999vbhx";
isLibrary = false;
isExecutable = true;
buildDepends = [
aeson cmdargs filepath haskellSrcExts mtl strict syb yaml
];
meta = {
homepage = "https://github.com/jaspervdj/stylish-haskell";
description = "Haskell code prettifier";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1357,6 +1357,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
stringsearch = callPackage ../development/libraries/haskell/stringsearch {};
stylishHaskell = callPackage ../development/libraries/haskell/stylish-haskell {};
syb_0_2_2 = callPackage ../development/libraries/haskell/syb/0.2.2.nix {};
syb_0_3 = callPackage ../development/libraries/haskell/syb/0.3.nix {};
syb_0_3_3 = callPackage ../development/libraries/haskell/syb/0.3.3.nix {};