elm-format: 0.8.1 -> 0.8.2

This commit is contained in:
Aaron VonderHaar 2019-08-08 23:31:16 -07:00
parent 15672693c1
commit 4865c8c187
1 changed files with 13 additions and 9 deletions

View File

@ -1,24 +1,28 @@
{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, base, binary { mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, base, binary
, bytestring, Cabal, cmark, containers, directory, filepath, free , bytestring, cmark, containers, directory, filepath, free, HUnit
, HUnit, indents, json, mtl, optparse-applicative, parsec, process , indents, json, mtl, optparse-applicative, parsec, process
, QuickCheck, quickcheck-io, split, stdenv, tasty, tasty-golden , QuickCheck, quickcheck-io, split, stdenv, tasty, tasty-golden
, tasty-hunit, tasty-quickcheck, text , tasty-hunit, tasty-quickcheck, text
}: }:
mkDerivation { mkDerivation {
pname = "elm-format"; pname = "elm-format";
version = "0.8.1"; version = "0.8.2";
src = fetchgit { src = fetchgit {
url = "https://github.com/avh4/elm-format"; url = "https://github.com/avh4/elm-format";
sha256 = "0p1dy1m6illsl7i04zsv5jqw7i4znv7pfpdfm53zy0k7mq0fk09j"; sha256 = "0ly37fszrfviwqgrww57ikdcr7i8lcpczhqm8xqp5s7mrlpdxv7z";
rev = "89694e858664329e3cbdaeb71b15c4456fd739ff"; rev = "ab3627cce01e5556b3fe8c2b5e3d92b80bfc74af";
}; };
postPatch = '' postPatch = ''
sed -i "s|desc <-.*||" ./Setup.hs mkdir -p ./generated
sed -i "s|gitDescribe = .*|gitDescribe = \\\\\"0.8.1\\\\\"\"|" ./Setup.hs cat <<EOHS > ./generated/Build_elm_format.hs
module Build_elm_format where
gitDescribe :: String
gitDescribe = "0.8.2"
EOHS
''; '';
isLibrary = true; isLibrary = false;
isExecutable = true; isExecutable = true;
setupHaskellDepends = [ base Cabal directory filepath process ];
libraryHaskellDepends = [ libraryHaskellDepends = [
ansi-terminal ansi-wl-pprint base binary bytestring containers ansi-terminal ansi-wl-pprint base binary bytestring containers
directory filepath free indents json mtl optparse-applicative directory filepath free indents json mtl optparse-applicative