nixpkgs/pkgs/development/libraries/haskell/stylish-haskell/default.nix

25 lines
732 B
Nix
Raw Normal View History

{ 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";
version = "0.5.10.0";
sha256 = "12sba4bbc1qzicvavlbf4wqj7xs2pk0z3ha70xsvldszhyav9zj9";
isLibrary = true;
2012-08-30 10:11:23 +02:00
isExecutable = true;
buildDepends = [
aeson cmdargs filepath haskellSrcExts mtl strict syb yaml
];
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;
};
})