about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-lib.nix
blob: 290534bbea9a5498ac47e1698503f7960d9e2768 (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
{ mkDerivation, aeson, avh4-lib, base, bimap, binary, bytestring
, containers, elm-format-markdown, elm-format-test-lib, fetchgit
, hspec, lib, mtl, optparse-applicative, relude, split, tasty
, tasty-discover, tasty-hspec, tasty-hunit, text
}:
mkDerivation {
  pname = "elm-format-lib";
  version = "0.0.0.1";
  src = fetchgit {
    url = "https://github.com/avh4/elm-format";
    sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi";
    rev = "b5cca4c26b473dab06e5d73b98148637e4770d45";
    fetchSubmodules = true;
  };
  postUnpack = "sourceRoot+=/elm-format-lib; echo source root reset to $sourceRoot";
  libraryHaskellDepends = [
    aeson avh4-lib base bimap binary bytestring containers
    elm-format-markdown mtl optparse-applicative relude text
  ];
  testHaskellDepends = [
    aeson avh4-lib base bimap binary bytestring containers
    elm-format-markdown elm-format-test-lib hspec mtl
    optparse-applicative relude split tasty tasty-hspec tasty-hunit
    text
  ];
  testToolDepends = [ tasty-discover ];
  description = "Common code used by elm-format and elm-refactor";
  license = lib.licenses.bsd3;
}