mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 16:15:30 +00:00
25 lines
731 B
Nix
25 lines
731 B
Nix
{ cabal, aeson, cmdargs, filepath, haskellSrcExts, HUnit, mtl
|
|
, strict, syb, testFramework, testFrameworkHunit, yaml
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "stylish-haskell";
|
|
version = "0.5.8.0";
|
|
sha256 = "1wjrn4cq47jjmqkb2zv02x90l2mv6n7zh4mvcav25s9bwvvca10r";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
aeson cmdargs filepath haskellSrcExts mtl strict syb yaml
|
|
];
|
|
testDepends = [
|
|
aeson cmdargs filepath haskellSrcExts HUnit mtl syb testFramework
|
|
testFrameworkHunit yaml
|
|
];
|
|
meta = {
|
|
homepage = "https://github.com/jaspervdj/stylish-haskell";
|
|
description = "Haskell code prettifier";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|