2016-05-29 22:34:23 +01:00
|
|
|
{ mkDerivation, aeson, ansi-terminal, ansi-wl-pprint, base, binary
|
|
|
|
, bytestring, containers, directory, edit-distance, fetchgit
|
|
|
|
, filemanip, filepath, HUnit, indents, mtl, optparse-applicative
|
|
|
|
, parsec, pretty, process, QuickCheck, quickcheck-io
|
2016-07-15 23:36:28 +01:00
|
|
|
, regex-applicative, split, stdenv, tasty, tasty-golden
|
|
|
|
, tasty-hunit, tasty-quickcheck, text, union-find, wl-pprint
|
2016-05-29 22:34:23 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "elm-format";
|
2016-11-18 01:55:42 +00:00
|
|
|
version = "0.5.2";
|
2016-05-29 22:34:23 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "http://github.com/avh4/elm-format";
|
2016-11-18 01:55:42 +00:00
|
|
|
sha256 = "0lman7h6wr75y90javcc4y1scvwgv125gqqaqvfrd5xrfmm43gg8";
|
|
|
|
rev = "e452ed9342620e7bb0bc822983b96411d57143ef";
|
2016-05-29 22:34:23 +01:00
|
|
|
};
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
executableHaskellDepends = [
|
|
|
|
aeson ansi-terminal ansi-wl-pprint base binary bytestring
|
|
|
|
containers directory edit-distance filemanip filepath indents mtl
|
|
|
|
optparse-applicative parsec pretty process regex-applicative split
|
|
|
|
text
|
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2016-07-15 23:36:28 +01:00
|
|
|
aeson ansi-terminal ansi-wl-pprint base binary bytestring
|
|
|
|
containers directory edit-distance filemanip filepath HUnit indents
|
|
|
|
mtl optparse-applicative parsec pretty process QuickCheck
|
|
|
|
quickcheck-io regex-applicative split tasty tasty-golden
|
|
|
|
tasty-hunit tasty-quickcheck text union-find wl-pprint
|
2016-05-29 22:34:23 +01:00
|
|
|
];
|
|
|
|
jailbreak = true;
|
|
|
|
homepage = "http://elm-lang.org";
|
|
|
|
description = "A source code formatter for Elm";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
}
|