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

21 lines
568 B
Nix

{ cabal, aeson, cmdargs, filepath, haskellSrcExts, mtl, strict, syb
, yaml
}:
cabal.mkDerivation (self: {
pname = "stylish-haskell";
version = "0.5.1.0";
sha256 = "0vriwgx7z8azqmci9lq7xlvn0v12p5nj9s6i4jvxsjam538qll94";
isLibrary = true;
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;
};
})