# This has been automatically generated by the script
# ./update.sh.  This should not be changed by hand.
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async-pool
, base, bower-json, bytestring, containers, cryptonite, dhall
, directory, either, extra, fetchgit, file-embed, filepath, foldl
, fsnotify, generic-lens, Glob, hspec, hspec-discover
, hspec-megaparsec, http-client, http-conduit, http-types
, lens-family-core, lib, megaparsec, mtl, network-uri, open-browser
, optparse-applicative, prettyprinter, process, QuickCheck, retry
, rio, rio-orphans, safe, semver-range, stm, stringsearch, tar
, template-haskell, temporary, text, time, transformers, turtle
, unliftio, unordered-containers, uri-encode, utf8-string, versions
, with-utf8, yaml, zlib
}:
mkDerivation {
  pname = "spago";
  version = "0.21.0";
  src = fetchgit {
    url = "https://github.com/purescript/spago.git";
    sha256 = "1v5y15nhw6smnir0y7y854pa70iv8asxsqph2y8rz1c9lkz5d41g";
    rev = "c354f4a461f65fcb83aaa843830ea1589f6c7179";
    fetchSubmodules = true;
  };
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    aeson aeson-pretty ansi-terminal async-pool base bower-json
    bytestring containers cryptonite dhall directory either file-embed
    filepath foldl fsnotify generic-lens Glob http-client http-conduit
    http-types lens-family-core megaparsec mtl network-uri open-browser
    optparse-applicative prettyprinter process retry rio rio-orphans
    safe semver-range stm stringsearch tar template-haskell temporary
    text time transformers turtle unliftio unordered-containers
    uri-encode utf8-string versions with-utf8 yaml zlib
  ];
  executableHaskellDepends = [
    ansi-terminal base text turtle with-utf8
  ];
  testHaskellDepends = [
    base containers directory extra hspec hspec-megaparsec megaparsec
    process QuickCheck temporary text turtle versions
  ];
  testToolDepends = [ hspec-discover ];
  homepage = "https://github.com/purescript/spago#readme";
  license = lib.licenses.bsd3;
  mainProgram = "spago";
}
