about summary refs log tree commit diff
path: root/pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-03-29 00:02:10 +0000
committerGitHub <noreply@github.com>2024-03-29 00:02:10 +0000
commit20c720272ecd261b8fc394172f7828175cb63a02 (patch)
tree2797602045af511cee2a638754d6815715e565e4 /pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix
parentedf05b9f79abb87219cdc662845d4efbb16c89a1 (diff)
parent8b5339b5070f65c2e78999ff6b061e879b02a425 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix')
-rw-r--r--pkgs/development/compilers/elm/packages/ghc9_2/elm-format/avh4-lib.nix26
1 files changed, 26 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;
+}