@@ -1,40 +1,40 @@
1−{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, array, base, binary
2−, bytestring, cmark, containers, directory, filepath, free, HUnit
3−, indents, json, mtl, optparse-applicative, parsec, process
4−, QuickCheck, quickcheck-io, split, lib, tasty, tasty-golden
5−, tasty-hunit, tasty-quickcheck, text
1+{ mkDerivation, ansi-wl-pprint, avh4-lib, base, bimap, cmark
2+, containers, elm-format-lib, elm-format-test-lib, fetchgit, json
3+, lib, mtl, optparse-applicative, parsec, QuickCheck, quickcheck-io
4+, relude, tasty, tasty-hspec, tasty-hunit, tasty-quickcheck, text
65}:
7−mkDerivation {
6+mkDerivation rec {
87 pname = "elm-format";
9− version = "0.8.4";
8+ version = "0.8.5";
109 src = fetchgit {
1110 url = "https://github.com/avh4/elm-format";
12− sha256 = "0cxlhhdjx4h9g03z83pxv91qrysbi0ab92rl52jb0yvkaix989ai";
13− rev = "5bd4fbe591fe8b456160c180cb875ef60bc57890";
11+ sha256 = "0bcjkcs1dy1csz0mpk7d4b5wf93fsj9p86x8fp42mb0pipdd0bh6";
12+ rev = "80f15d85ee71e1663c9b53903f2b5b2aa444a3be";
13+ fetchSubmodules = true;
1414 };
15− postPatch = ''
16− mkdir -p ./generated
17− cat <<EOHS > ./generated/Build_elm_format.hs
18− module Build_elm_format where
19−
20− gitDescribe :: String
21− gitDescribe = "0.8.4"
22− EOHS
23− '';
2415 isLibrary = false;
2516 isExecutable = true;
26− libraryHaskellDepends = [
27− ansi-terminal ansi-wl-pprint array base binary bytestring
28− containers directory filepath free indents json mtl
29− optparse-applicative parsec process split text
17+ executableHaskellDepends = [
18+ ansi-wl-pprint avh4-lib base containers elm-format-lib json
19+ optparse-applicative relude text
3020 ];
31− executableHaskellDepends = [ base ];
3221 testHaskellDepends = [
33− base cmark containers HUnit mtl parsec QuickCheck quickcheck-io
34− split tasty tasty-golden tasty-hunit tasty-quickcheck text
22+ ansi-wl-pprint avh4-lib base bimap cmark containers elm-format-lib
23+ elm-format-test-lib json mtl optparse-applicative parsec QuickCheck
24+ quickcheck-io relude tasty tasty-hspec tasty-hunit tasty-quickcheck
25+ text
3526 ];
3627 doHaddock = false;
3728 homepage = "https://elm-lang.org";
3829 description = "A source code formatter for Elm";
3930 license = lib.licenses.bsd3;
31+ postPatch = ''
32+ mkdir -p ./generated
33+ cat <<EOHS > ./generated/Build_elm_format.hs
34+ module Build_elm_format where
35+
36+ gitDescribe :: String
37+ gitDescribe = "${version}"
38+ EOHS
39+ '';
4040}