about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/purescript/spago/spago.nix
blob: 3f54a4f9c0eeab0bc94608cc58887d97437ba45f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async-pool
, base, bower-json, bytestring, Cabal, containers, cryptonite
, dhall, directory, either, exceptions, extra, fetchgit, file-embed
, filepath, foldl, fsnotify, generic-lens, github, Glob, hpack
, hspec, hspec-discover, hspec-megaparsec, http-client
, http-conduit, http-types, lens-family-core, megaparsec, mtl
, network-uri, open-browser, optparse-applicative, prettyprinter
, process, QuickCheck, retry, rio, rio-orphans, safe, semver-range
, lib, stdenv, stm, stringsearch, tar, template-haskell, temporary, text
, time, transformers, turtle, unliftio, unordered-containers
, utf8-string, vector, versions, with-utf8, zlib
}:
mkDerivation {
  pname = "spago";
  version = "0.19.0";
  src = fetchgit {
    url = "https://github.com/purescript/spago.git";
    sha256 = "182a9pkv64rbyqrig470cmql4ingf5vpxh11xkxqq2baxym3vwip";
    rev = "960a310d6efca3bb40009eb06d88382e4670ccef";
    fetchSubmodules = true;
  };
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    aeson aeson-pretty ansi-terminal async-pool base bower-json
    bytestring Cabal containers cryptonite dhall directory either
    exceptions file-embed filepath foldl fsnotify generic-lens github
    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 utf8-string vector versions
    with-utf8 zlib
  ];
  libraryToolDepends = [ hpack ];
  executableHaskellDepends = [ base text turtle with-utf8 ];
  testHaskellDepends = [
    base containers directory extra hspec hspec-megaparsec megaparsec
    process QuickCheck temporary text turtle versions
  ];
  testToolDepends = [ hspec-discover ];
  prePatch = "hpack";
  homepage = "https://github.com/purescript/spago#readme";
  license = lib.licenses.bsd3;
}