git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #66364 from avh4/elm-format-0.8.2

elm-format: 0.8.1 -> 0.8.2

commit59846b92650a47d7a43c8a24bc3bac0dacf4cb6b authorDomen Kožar <domen@dev.si> dateSat 10 Aug 2019, 11:02 (7 years ago) parent2aa75894865c8c
1 file changed+13−9
pkgs/development/compilers/elm/packages/elm-format.nix+13−9
pkgs/development/compilers/elm/packages/elm-format.nix+13−9
@@ -1,24 +1,28 @@
11{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, base, binary
2−, bytestring, Cabal, cmark, containers, directory, filepath, free
3−, HUnit, indents, json, mtl, optparse-applicative, parsec, process
2+, bytestring, cmark, containers, directory, filepath, free, HUnit
3+, indents, json, mtl, optparse-applicative, parsec, process
44, QuickCheck, quickcheck-io, split, stdenv, tasty, tasty-golden
55, tasty-hunit, tasty-quickcheck, text
66}:
77mkDerivation {
88 pname = "elm-format";
9− version = "0.8.1";
9+ version = "0.8.2";
1010 src = fetchgit {
1111 url = "https://github.com/avh4/elm-format";
12− sha256 = "0p1dy1m6illsl7i04zsv5jqw7i4znv7pfpdfm53zy0k7mq0fk09j";
13− rev = "89694e858664329e3cbdaeb71b15c4456fd739ff";
12+ sha256 = "0ly37fszrfviwqgrww57ikdcr7i8lcpczhqm8xqp5s7mrlpdxv7z";
13+ rev = "ab3627cce01e5556b3fe8c2b5e3d92b80bfc74af";
1414 };
1515 postPatch = ''
16− sed -i "s|desc <-.*||" ./Setup.hs
17− sed -i "s|gitDescribe = .*|gitDescribe = \\\\\"0.8.1\\\\\"\"|" ./Setup.hs
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.2"
22+ EOHS
1823 '';
19− isLibrary = true;
24+ isLibrary = false;
2025 isExecutable = true;
21− setupHaskellDepends = [ base Cabal directory filepath process ];
2226 libraryHaskellDepends = [
2327 ansi-terminal ansi-wl-pprint base binary bytestring containers
2428 directory filepath free indents json mtl optparse-applicative