summary refs log tree commit diff
path: root/pkgs/development/tools/haskell
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-07-24 15:03:25 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2020-07-24 15:04:25 +0200
commitccb418a3584e9cc5b529a4559a5e3b09514160a2 (patch)
treea96ee20d9296012eb32a403d39a5d45978ac0fc1 /pkgs/development/tools/haskell
parent0351afda02afa77a509f6dff064b61d178c0e4ba (diff)
downloadnixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.tar
nixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.tar.gz
nixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.tar.bz2
nixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.tar.lz
nixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.tar.xz
nixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.tar.zst
nixpkgs-ccb418a3584e9cc5b529a4559a5e3b09514160a2.zip
haskellPackages.haskell-language-server: 0.2.0.0 -> 0.2.2.0
Diffstat (limited to 'pkgs/development/tools/haskell')
-rw-r--r--pkgs/development/tools/haskell/haskell-language-server/default.nix40
-rw-r--r--pkgs/development/tools/haskell/haskell-language-server/hls-ghcide.nix29
-rwxr-xr-xpkgs/development/tools/haskell/haskell-language-server/update.sh2
3 files changed, 35 insertions, 36 deletions
diff --git a/pkgs/development/tools/haskell/haskell-language-server/default.nix b/pkgs/development/tools/haskell/haskell-language-server/default.nix
index c50a42fc885..15f944e7133 100644
--- a/pkgs/development/tools/haskell/haskell-language-server/default.nix
+++ b/pkgs/development/tools/haskell/haskell-language-server/default.nix
@@ -1,46 +1,44 @@
-{ mkDerivation, aeson, async, base, base16-bytestring, binary
-, blaze-markup, brittany, bytestring, cabal-helper, containers
-, cryptohash-sha1, data-default, deepseq, Diff, directory, extra
-, fetchgit, filepath, floskell, ghc, ghc-check, ghc-paths, ghcide
+{ mkDerivation, aeson, base, binary, blaze-markup, brittany
+, bytestring, containers, data-default, deepseq, Diff, directory
+, extra, fetchgit, filepath, floskell, ghc, ghc-paths, ghcide
 , gitrev, hashable, haskell-lsp, haskell-lsp-types, hie-bios
 , hslogger, hspec, hspec-core, hspec-expectations, lens, lsp-test
 , optparse-applicative, optparse-simple, ormolu, process
 , regex-tdfa, safe-exceptions, shake, stdenv, stm, stylish-haskell
 , tasty, tasty-ant-xml, tasty-expected-failure, tasty-golden
-, tasty-hunit, tasty-rerun, text, time, transformers, unix
-, unordered-containers, yaml
+, tasty-hunit, tasty-rerun, temporary, text, time, transformers
+, unix, unordered-containers, yaml
 }:
 mkDerivation {
   pname = "haskell-language-server";
-  version = "0.2.0.0";
+  version = "0.2.2.0";
   src = fetchgit {
     url = "https://github.com/haskell/haskell-language-server.git";
-    sha256 = "0nkfyb0zg57jwr2gry0f3fycvqvb4rkayx42m841dgd4phyvrfrq";
-    rev = "35205ee3f95a8fbb4ef9a4ae4d9d82ac3d36d3f0";
+    sha256 = "0g9g2gyb0fidx16l741ky12djxh4cid9akvxa48105iq1gdihd8l";
+    rev = "12c0e4423263140e3d16e76681927ec69fe4929f";
     fetchSubmodules = true;
   };
   isLibrary = true;
   isExecutable = true;
   libraryHaskellDepends = [
-    aeson base binary brittany bytestring cabal-helper containers
-    data-default deepseq Diff directory extra filepath floskell ghc
-    ghcide gitrev hashable haskell-lsp hie-bios hslogger lens
-    optparse-simple ormolu process regex-tdfa shake stylish-haskell
-    text transformers unix unordered-containers
+    aeson base binary brittany bytestring containers data-default
+    deepseq Diff directory extra filepath floskell ghc ghcide gitrev
+    hashable haskell-lsp hie-bios hslogger lens optparse-simple ormolu
+    process regex-tdfa shake stylish-haskell temporary text time
+    transformers unix unordered-containers
   ];
   executableHaskellDepends = [
-    aeson async base base16-bytestring binary bytestring containers
-    cryptohash-sha1 data-default deepseq directory extra filepath ghc
-    ghc-check ghc-paths ghcide gitrev hashable haskell-lsp hie-bios
-    hslogger optparse-applicative process safe-exceptions shake text
-    time unordered-containers
+    base binary containers data-default directory extra filepath ghc
+    ghc-paths ghcide gitrev hashable haskell-lsp hie-bios hslogger
+    optparse-applicative process safe-exceptions shake text time
+    unordered-containers
   ];
   testHaskellDepends = [
     aeson base blaze-markup bytestring containers data-default
     directory filepath haskell-lsp haskell-lsp-types hie-bios hslogger
-    hspec hspec-core hspec-expectations lens lsp-test stm tasty
+    hspec hspec-core hspec-expectations lens lsp-test process stm tasty
     tasty-ant-xml tasty-expected-failure tasty-golden tasty-hunit
-    tasty-rerun text unordered-containers yaml
+    tasty-rerun temporary text transformers unordered-containers yaml
   ];
   testToolDepends = [ ghcide ];
   homepage = "https://github.com/haskell/haskell-language-server#readme";
diff --git a/pkgs/development/tools/haskell/haskell-language-server/hls-ghcide.nix b/pkgs/development/tools/haskell/haskell-language-server/hls-ghcide.nix
index 08bed265e9a..cafe01946a6 100644
--- a/pkgs/development/tools/haskell/haskell-language-server/hls-ghcide.nix
+++ b/pkgs/development/tools/haskell/haskell-language-server/hls-ghcide.nix
@@ -17,27 +17,28 @@ mkDerivation {
   pname = "ghcide";
   version = "0.2.0";
   src = fetchgit {
-    url = "https://github.com/wz1000/ghcide";
-    sha256 = "12hqqi2qf0bnl8ap6bvc7nzz4d6817qf0kpkj7iimhbsn73fkqkv";
-    rev = "8530b980871f9bc4f6fc2e688a4620e5fe1a0340";
+    url = "https://github.com/bubba/ghcide";
+    sha256 = "1kj2i86mkaxgxlrbmv2d24mch7hywgcy2n61z8paj21chncs1j5w";
+    rev = "7e895cfa53260b41996df707baec496a8f2c75dc";
     fetchSubmodules = true;
   };
   isLibrary = true;
   isExecutable = true;
   libraryHaskellDepends = [
-    aeson array async base binary bytestring containers data-default
-    deepseq directory extra filepath fuzzy ghc ghc-boot ghc-boot-th
-    haddock-library hashable haskell-lsp haskell-lsp-types hslogger mtl
-    network-uri opentelemetry prettyprinter prettyprinter-ansi-terminal
-    regex-tdfa rope-utf16-splay safe-exceptions shake sorted-list stm
-    syb text time transformers unix unordered-containers utf8-string
+    aeson array async base base16-bytestring binary bytestring
+    containers cryptohash-sha1 data-default deepseq directory extra
+    filepath fuzzy ghc ghc-boot ghc-boot-th ghc-check ghc-paths
+    haddock-library hashable haskell-lsp haskell-lsp-types hie-bios
+    hslogger mtl network-uri opentelemetry prettyprinter
+    prettyprinter-ansi-terminal regex-tdfa rope-utf16-splay
+    safe-exceptions shake sorted-list stm syb text time transformers
+    unix unordered-containers utf8-string
   ];
   executableHaskellDepends = [
-    aeson async base base16-bytestring binary bytestring containers
-    cryptohash-sha1 data-default deepseq directory extra filepath ghc
-    ghc-check ghc-paths gitrev hashable haskell-lsp haskell-lsp-types
-    hie-bios hslogger lsp-test optparse-applicative process
-    safe-exceptions shake text time unordered-containers
+    aeson base bytestring containers data-default directory extra
+    filepath gitrev hashable haskell-lsp haskell-lsp-types hie-bios
+    lsp-test optparse-applicative process safe-exceptions text
+    unordered-containers
   ];
   testHaskellDepends = [
     aeson base bytestring containers directory extra filepath ghc
diff --git a/pkgs/development/tools/haskell/haskell-language-server/update.sh b/pkgs/development/tools/haskell/haskell-language-server/update.sh
index 498859843c4..6cf29968338 100755
--- a/pkgs/development/tools/haskell/haskell-language-server/update.sh
+++ b/pkgs/development/tools/haskell/haskell-language-server/update.sh
@@ -29,7 +29,7 @@ ghcide_new_version=$(curl --silent "https://api.github.com/repos/haskell/haskell
 echo "Updating haskell-language-server from old version $ghcide_old_version to new version $ghcide_new_version."
 echo "Running cabal2nix and outputting to ${ghcide_derivation_file}..."
 
-cabal2nix --revision "$ghcide_new_version" "https://github.com/wz1000/ghcide" > "$ghcide_derivation_file"
+cabal2nix --revision "$ghcide_new_version" "https://github.com/bubba/ghcide" > "$ghcide_derivation_file"
 
 
 # ===========================