2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, aeson, cmdargs, filepath, haskellSrcExts, HUnit, mtl
|
|
|
|
, strict, syb, testFramework, testFrameworkHunit, yaml
|
2012-08-30 10:11:23 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "stylish-haskell";
|
2013-08-21 10:18:59 +02:00
|
|
|
version = "0.5.8.0";
|
|
|
|
sha256 = "1wjrn4cq47jjmqkb2zv02x90l2mv6n7zh4mvcav25s9bwvvca10r";
|
2012-09-17 16:17:57 +02:00
|
|
|
isLibrary = true;
|
2012-08-30 10:11:23 +02:00
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
aeson cmdargs filepath haskellSrcExts mtl strict syb yaml
|
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
aeson cmdargs filepath haskellSrcExts HUnit mtl syb testFramework
|
|
|
|
testFrameworkHunit yaml
|
|
|
|
];
|
2012-08-30 10:11:23 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/jaspervdj/stylish-haskell";
|
|
|
|
description = "Haskell code prettifier";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|