about summary refs log tree commit diff
path: root/pkgs/development/compilers/elm/packages/elm-format.nix
blob: 12550e46a9718a30fdcea27a21fc0b2eb05e969b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ 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
, regex-applicative, split, stdenv, test-framework
, test-framework-hunit, test-framework-quickcheck2, text
, union-find, wl-pprint
}:
mkDerivation {
  pname = "elm-format";
  version = "0.3.1";
  src = fetchgit {
    url = "http://github.com/avh4/elm-format";
    sha256 = "04kl50kzvjf4i140dlhs6f9fd2wmk6cnvyfamx2xh8vbwbnwrkj4";
    rev = "0637f3772de2297d12ea35f5b66961e1d827552c";
  };
  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 = [
    aeson ansi-terminal base binary bytestring containers directory
    edit-distance filemanip filepath HUnit indents mtl parsec pretty
    process QuickCheck quickcheck-io regex-applicative split
    test-framework test-framework-hunit test-framework-quickcheck2 text
    union-find wl-pprint
  ];
  jailbreak = true;
  homepage = "http://elm-lang.org";
  description = "A source code formatter for Elm";
  license = stdenv.lib.licenses.bsd3;
}