Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ mkDerivation, aeson, avh4-lib, base, bimap, binary, bytestring
2, containers, elm-format-markdown, elm-format-test-lib, fetchgit
3, hspec, lib, mtl, optparse-applicative, relude, split, tasty
4, tasty-discover, tasty-hspec, tasty-hunit, text
5}:
6mkDerivation {
7 pname = "elm-format-lib";
8 version = "0.0.0.1";
9 src = fetchgit {
10 url = "https://github.com/avh4/elm-format";
11 sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi";
12 rev = "b5cca4c26b473dab06e5d73b98148637e4770d45";
13 fetchSubmodules = true;
14 };
15 postUnpack = "sourceRoot+=/elm-format-lib; echo source root reset to $sourceRoot";
16 libraryHaskellDepends = [
17 aeson avh4-lib base bimap binary bytestring containers
18 elm-format-markdown mtl optparse-applicative relude text
19 ];
20 testHaskellDepends = [
21 aeson avh4-lib base bimap binary bytestring containers
22 elm-format-markdown elm-format-test-lib hspec mtl
23 optparse-applicative relude split tasty tasty-hspec tasty-hunit
24 text
25 ];
26 testToolDepends = [ tasty-discover ];
27 doHaddock = false;
28 description = "Common code used by elm-format and elm-refactor";
29 license = lib.licenses.bsd3;
30}