diff options
Diffstat (limited to 'pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-lib.nix')
-rw-r--r-- | pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-lib.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-lib.nix b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-lib.nix new file mode 100644 index 000000000000..290534bbea9a --- /dev/null +++ b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-lib.nix @@ -0,0 +1,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; +} |