diff options
author | annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-03-29 00:12:10 +0000 |
---|---|---|
committer | annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-03-29 00:12:10 +0000 |
commit | 7f0e8fc4f9c7682f18e76c2689dbf6b6f73480ab (patch) | |
tree | f4d20fd6224bbb9aa8ec9baeca285bbe7fb13a28 /pkgs/development/compilers/elm/packages/ghc9_2/elm-format | |
parent | 6d070b44ac028eaafa5252b5f8f60355b0810e9d (diff) | |
parent | 20c720272ecd261b8fc394172f7828175cb63a02 (diff) |
Merge remote-tracking branch 'upstream/staging-next' into staging
Conflicts: pkgs/development/python-modules/langchain-core/default.nix
Diffstat (limited to 'pkgs/development/compilers/elm/packages/ghc9_2/elm-format')
5 files changed, 127 insertions, 0 deletions
diff --git a/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix new file mode 100644 index 0000000000000..e320edfd11623 --- /dev/null +++ b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix @@ -0,0 +1,26 @@ +{ mkDerivation, array, base, bytestring, directory, fetchgit +, filepath, lib, mtl, pooled-io, process, relude, tasty +, tasty-discover, tasty-hspec, tasty-hunit, text +}: +mkDerivation { + pname = "avh4-lib"; + version = "0.0.0.1"; + src = fetchgit { + url = "https://github.com/avh4/elm-format"; + sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi"; + rev = "b5cca4c26b473dab06e5d73b98148637e4770d45"; + fetchSubmodules = true; + }; + postUnpack = "sourceRoot+=/avh4-lib; echo source root reset to $sourceRoot"; + libraryHaskellDepends = [ + array base bytestring directory filepath mtl pooled-io process + relude text + ]; + testHaskellDepends = [ + array base bytestring directory filepath mtl pooled-io process + relude tasty tasty-hspec tasty-hunit text + ]; + testToolDepends = [ tasty-discover ]; + description = "Common code for haskell projects"; + license = lib.licenses.bsd3; +} 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 0000000000000..290534bbea9a5 --- /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; +} diff --git a/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-markdown.nix b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-markdown.nix new file mode 100644 index 0000000000000..e57d2127822e7 --- /dev/null +++ b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-markdown.nix @@ -0,0 +1,15 @@ +{ mkDerivation, base, containers, fetchgit, lib, mtl, text }: +mkDerivation { + pname = "elm-format-markdown"; + version = "0.0.0.1"; + src = fetchgit { + url = "https://github.com/avh4/elm-format"; + sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi"; + rev = "b5cca4c26b473dab06e5d73b98148637e4770d45"; + fetchSubmodules = true; + }; + postUnpack = "sourceRoot+=/elm-format-markdown; echo source root reset to $sourceRoot"; + libraryHaskellDepends = [ base containers mtl text ]; + description = "Markdown parsing for Elm documentation comments"; + license = lib.licenses.bsd3; +} diff --git a/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-test-lib.nix b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-test-lib.nix new file mode 100644 index 0000000000000..43090abbeae49 --- /dev/null +++ b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format-test-lib.nix @@ -0,0 +1,26 @@ +{ mkDerivation, avh4-lib, base, containers, fetchgit, filepath +, hspec, hspec-core, hspec-golden, lib, mtl, split, tasty +, tasty-discover, tasty-hspec, tasty-hunit, text +}: +mkDerivation { + pname = "elm-format-test-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-test-lib; echo source root reset to $sourceRoot"; + libraryHaskellDepends = [ + avh4-lib base containers filepath hspec hspec-core hspec-golden mtl + split tasty-hunit text + ]; + testHaskellDepends = [ + avh4-lib base containers filepath hspec hspec-core hspec-golden mtl + split tasty tasty-hspec tasty-hunit text + ]; + testToolDepends = [ tasty-discover ]; + description = "Test helpers used by elm-format-tests and elm-refactor-tests"; + license = lib.licenses.bsd3; +} diff --git a/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format.nix b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format.nix new file mode 100644 index 0000000000000..82ec995e1ecc2 --- /dev/null +++ b/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/elm-format.nix @@ -0,0 +1,31 @@ +{ mkDerivation, aeson, ansi-wl-pprint, avh4-lib, base, bytestring +, elm-format-lib, elm-format-test-lib, fetchgit, hspec, lib +, optparse-applicative, QuickCheck, quickcheck-io, relude, tasty +, tasty-hspec, tasty-hunit, tasty-quickcheck, text +}: +mkDerivation { + pname = "elm-format"; + version = "0.8.7"; + src = fetchgit { + url = "https://github.com/avh4/elm-format"; + sha256 = "04l1bn4w8q3ifd6mc4mfrqxfbihmqnpfjdn6gr0x2jqcasjbk0bi"; + rev = "b5cca4c26b473dab06e5d73b98148637e4770d45"; + fetchSubmodules = true; + }; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson ansi-wl-pprint avh4-lib base bytestring elm-format-lib + optparse-applicative relude text + ]; + testHaskellDepends = [ + aeson ansi-wl-pprint avh4-lib base bytestring elm-format-lib + elm-format-test-lib hspec optparse-applicative QuickCheck + quickcheck-io relude tasty tasty-hspec tasty-hunit tasty-quickcheck + text + ]; + homepage = "https://elm-lang.org"; + description = "A source code formatter for Elm"; + license = lib.licenses.bsd3; + mainProgram = "elm-format"; +} |