39 lines
1.6 KiB
Nix
39 lines
1.6 KiB
Nix
{ mkDerivation, aeson, base, butcher, bytestring, cmdargs
|
|
, containers, czipwith, data-tree-print, deepseq, directory, extra
|
|
, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths, hspec
|
|
, monad-memo, mtl, multistate, neat-interpolation, parsec, pretty
|
|
, random, safe, semigroups, stdenv, strict, syb, text, transformers
|
|
, uniplate, unsafe, yaml
|
|
}:
|
|
mkDerivation {
|
|
pname = "brittany";
|
|
version = "0.11.0.0";
|
|
src = ./.;
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson base butcher bytestring cmdargs containers czipwith
|
|
data-tree-print deepseq directory extra filepath ghc ghc-boot-th
|
|
ghc-exactprint ghc-paths monad-memo mtl multistate
|
|
neat-interpolation pretty random safe semigroups strict syb text
|
|
transformers uniplate unsafe yaml
|
|
];
|
|
executableHaskellDepends = [
|
|
aeson base butcher bytestring cmdargs containers czipwith
|
|
data-tree-print deepseq directory extra filepath ghc ghc-boot-th
|
|
ghc-exactprint ghc-paths monad-memo mtl multistate
|
|
neat-interpolation pretty safe semigroups strict syb text
|
|
transformers uniplate unsafe yaml
|
|
];
|
|
testHaskellDepends = [
|
|
aeson base butcher bytestring cmdargs containers czipwith
|
|
data-tree-print deepseq directory extra filepath ghc ghc-boot-th
|
|
ghc-exactprint ghc-paths hspec monad-memo mtl multistate
|
|
neat-interpolation parsec pretty safe semigroups strict syb text
|
|
transformers uniplate unsafe yaml
|
|
];
|
|
homepage = "https://github.com/lspitzner/brittany/";
|
|
description = "Haskell source code formatter";
|
|
license = stdenv.lib.licenses.agpl3;
|
|
}
|