aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix b/infra/libkookie/nixpkgs/pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix
new file mode 100644
index 000000000000..3a730dc71642
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix
@@ -0,0 +1,26 @@
+{ mkDerivation, aeson, apply-refact, base, binary, bytestring
+, containers, data-default, deepseq, Diff, directory, extra
+, fetchgit, filepath, ghc, ghc-lib, ghc-lib-parser-ex, ghcide
+, hashable, haskell-lsp, hlint, hls-plugin-api, hslogger, lens
+, regex-tdfa, shake, stdenv, temporary, text, transformers
+, unordered-containers
+}:
+mkDerivation {
+ pname = "hls-hlint-plugin";
+ version = "0.1.0.0";
+ src = fetchgit {
+ url = "https://github.com/haskell/haskell-language-server.git";
+ sha256 = "027fq6752024wzzq9izsilm5lkq9gmpxf82rixbimbijw0yk4pwj";
+ rev = "372a12e797069dc3ac4fa33dcaabe3b992999d7c";
+ fetchSubmodules = true;
+ };
+ postUnpack = "sourceRoot+=/plugins/hls-hlint-plugin; echo source root reset to $sourceRoot";
+ libraryHaskellDepends = [
+ aeson apply-refact base binary bytestring containers data-default
+ deepseq Diff directory extra filepath ghc ghc-lib ghc-lib-parser-ex
+ ghcide hashable haskell-lsp hlint hls-plugin-api hslogger lens
+ regex-tdfa shake temporary text transformers unordered-containers
+ ];
+ description = "Hlint integration plugin with Haskell Language Server";
+ license = stdenv.lib.licenses.asl20;
+}