2020-06-25 13:23:09 +01:00
|
|
|
{ mkDerivation, aeson, array, async, base, base16-bytestring
|
|
|
|
, binary, bytestring, Chart, Chart-diagrams, containers
|
|
|
|
, cryptohash-sha1, data-default, deepseq, diagrams, diagrams-svg
|
|
|
|
, directory, extra, fetchgit, filepath, fuzzy, ghc, ghc-boot
|
|
|
|
, ghc-boot-th, ghc-check, ghc-paths, ghc-typelits-knownnat, gitrev
|
|
|
|
, haddock-library, hashable, haskell-lsp, haskell-lsp-types
|
|
|
|
, hie-bios, hslogger, lens, lsp-test, mtl, network-uri
|
2020-07-14 22:05:38 +01:00
|
|
|
, opentelemetry, optparse-applicative, prettyprinter
|
|
|
|
, prettyprinter-ansi-terminal, process, QuickCheck
|
2020-06-25 13:23:09 +01:00
|
|
|
, quickcheck-instances, regex-tdfa, rope-utf16-splay
|
|
|
|
, safe-exceptions, shake, sorted-list, stdenv, stm, syb, tasty
|
|
|
|
, tasty-expected-failure, tasty-hunit, tasty-quickcheck
|
|
|
|
, tasty-rerun, text, time, transformers, unix, unordered-containers
|
|
|
|
, utf8-string, yaml
|
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "ghcide";
|
|
|
|
version = "0.2.0";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/wz1000/ghcide";
|
2020-07-14 22:05:38 +01:00
|
|
|
sha256 = "12hqqi2qf0bnl8ap6bvc7nzz4d6817qf0kpkj7iimhbsn73fkqkv";
|
|
|
|
rev = "8530b980871f9bc4f6fc2e688a4620e5fe1a0340";
|
2020-06-25 13:23:09 +01:00
|
|
|
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
|
|
|
|
];
|
|
|
|
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
|
2020-07-14 22:05:38 +01:00
|
|
|
hie-bios hslogger lsp-test optparse-applicative process
|
|
|
|
safe-exceptions shake text time unordered-containers
|
2020-06-25 13:23:09 +01:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
|
|
|
aeson base bytestring containers directory extra filepath ghc
|
|
|
|
ghc-typelits-knownnat haddock-library haskell-lsp haskell-lsp-types
|
2020-07-14 22:05:38 +01:00
|
|
|
lens lsp-test network-uri optparse-applicative process QuickCheck
|
|
|
|
quickcheck-instances rope-utf16-splay safe-exceptions shake tasty
|
|
|
|
tasty-expected-failure tasty-hunit tasty-quickcheck tasty-rerun
|
|
|
|
text
|
2020-06-25 13:23:09 +01:00
|
|
|
];
|
|
|
|
benchmarkHaskellDepends = [
|
2020-07-14 22:05:38 +01:00
|
|
|
aeson base Chart Chart-diagrams diagrams diagrams-svg directory
|
|
|
|
extra filepath shake text yaml
|
2020-06-25 13:23:09 +01:00
|
|
|
];
|
|
|
|
homepage = "https://github.com/digital-asset/ghcide#readme";
|
|
|
|
description = "The core of an IDE";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|