From 84bbdc618a2139cf0fc4237ae68b4751e06268a1 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Tue, 3 Oct 2023 12:01:08 +0200 Subject: [PATCH] Create hlint.nix --- NixSupport/haskell-packages/hlint.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 NixSupport/haskell-packages/hlint.nix diff --git a/NixSupport/haskell-packages/hlint.nix b/NixSupport/haskell-packages/hlint.nix new file mode 100644 index 000000000..eab07541b --- /dev/null +++ b/NixSupport/haskell-packages/hlint.nix @@ -0,0 +1,27 @@ +{ mkDerivation, aeson, ansi-terminal, base, bytestring, cmdargs +, containers, cpphs, data-default, deriving-aeson, directory, extra +, file-embed, filepath, filepattern, ghc-lib-parser +, ghc-lib-parser-ex, hscolour, lib, process, refact, text +, transformers, uniplate, unordered-containers, utf8-string, vector +, yaml +}: +mkDerivation { + pname = "hlint"; + version = "3.5"; + sha256 = "0kxdrqybnma508g1z42s3rc3cay11m8nl5ziddyw31m020515gcq"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + aeson ansi-terminal base bytestring cmdargs containers cpphs + data-default deriving-aeson directory extra file-embed filepath + filepattern ghc-lib-parser ghc-lib-parser-ex hscolour process + refact text transformers uniplate unordered-containers utf8-string + vector yaml + ]; + executableHaskellDepends = [ base ]; + homepage = "https://github.com/ndmitchell/hlint#readme"; + description = "Source code suggestions"; + license = lib.licenses.bsd3; + mainProgram = "hlint"; +} \ No newline at end of file