From 281583c937f3865f33f50481904b445d6590e7c2 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 17 Oct 2022 18:57:31 +0100 Subject: [PATCH] hie-bios: init at 0.11.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hie-bios.nix | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 pkgs/hie-bios.nix diff --git a/manifest.dhall b/manifest.dhall index e775cccb..733005a0 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -183,6 +183,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/maybe-hedgehog-later/hedgehog-golden" (None Text) (None Text) + , callHackage "hie-bios" "0.11.0" , callHackage "hie-compat" "0.3.0.0" , callHackage "hiedb" "0.4.2.0" , callHackage "hlint" "3.5" diff --git a/overlay.nix b/overlay.nix index abeec450..1b90d3e0 100644 --- a/overlay.nix +++ b/overlay.nix @@ -193,6 +193,8 @@ final: prev: with pkgs.haskell.lib; { hedgehog-golden = prev.callPackage (./pkgs/hedgehog-golden.nix) { }; + hie-bios = prev.callPackage (./pkgs/hie-bios.nix) { }; + hie-compat = prev.callPackage (./pkgs/hie-compat.nix) { }; hiedb = prev.callPackage (./pkgs/hiedb.nix) { }; diff --git a/pkgs/hie-bios.nix b/pkgs/hie-bios.nix new file mode 100644 index 00000000..91a015e7 --- /dev/null +++ b/pkgs/hie-bios.nix @@ -0,0 +1,38 @@ +{ mkDerivation, aeson, base, base16-bytestring, bytestring +, co-log-core, conduit, conduit-extra, containers, cryptohash-sha1 +, deepseq, directory, exceptions, extra, file-embed, filepath, ghc +, lib, optparse-applicative, prettyprinter, process, tagged, tasty +, tasty-expected-failure, tasty-hunit, temporary, text, time +, transformers, unix-compat, unordered-containers, vector, yaml +}: +mkDerivation { + pname = "hie-bios"; + version = "0.11.0"; + sha256 = "9708bf4309e904771bf590dd4e683e0b5c18e486ed499be8ceff5119a25f0eef"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + aeson base base16-bytestring bytestring co-log-core conduit + conduit-extra containers cryptohash-sha1 deepseq directory + exceptions extra file-embed filepath ghc prettyprinter process + temporary text time transformers unix-compat unordered-containers + vector yaml + ]; + executableHaskellDepends = [ + base co-log-core directory filepath ghc optparse-applicative + prettyprinter + ]; + testHaskellDepends = [ + aeson base directory extra filepath ghc tagged tasty + tasty-expected-failure tasty-hunit temporary text transformers + unordered-containers yaml + ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/mpickering/hie-bios"; + description = "Set up a GHC API session"; + license = lib.licenses.bsd3; + mainProgram = "hie-bios"; +} \ No newline at end of file -- GitLab