nixpkgs/pkgs/development/tools/purescript/spago/spago.nix

47 lines
1.9 KiB
Nix
Raw Normal View History

2019-12-20 07:12:29 +00:00
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async-pool
2021-01-07 01:17:52 +00:00
, base, bower-json, bytestring, Cabal, containers, cryptonite
2021-04-21 13:21:55 +00:00
, dhall, directory, either, extra, fetchgit, file-embed, filepath
, foldl, fsnotify, generic-lens, Glob, hpack, 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, utf8-string, versions
, with-utf8, zlib
2019-12-20 07:12:29 +00:00
}:
mkDerivation {
pname = "spago";
2021-04-21 13:21:55 +00:00
version = "0.20.1";
2019-12-20 07:12:29 +00:00
src = fetchgit {
2020-02-10 03:54:23 +00:00
url = "https://github.com/purescript/spago.git";
2021-04-21 13:21:55 +00:00
sha256 = "1j2yi6zz9m0k0298wllin39h244v8b2rx87yxxgdbjg77kn96vxg";
rev = "41ad739614f4f2c2356ac921308f9475a5a918f4";
2019-12-20 07:12:29 +00:00
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson aeson-pretty ansi-terminal async-pool base bower-json
2021-01-07 01:17:52 +00:00
bytestring Cabal containers cryptonite dhall directory either
2021-04-21 13:21:55 +00:00
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 utf8-string versions with-utf8 zlib
2019-12-20 07:12:29 +00:00
];
libraryToolDepends = [ hpack ];
2021-04-21 13:21:55 +00:00
executableHaskellDepends = [
ansi-terminal base text turtle with-utf8
];
2019-12-20 07:12:29 +00:00
testHaskellDepends = [
base containers directory extra hspec hspec-megaparsec megaparsec
process QuickCheck temporary text turtle versions
];
testToolDepends = [ hspec-discover ];
prePatch = "hpack";
2020-02-10 03:54:23 +00:00
homepage = "https://github.com/purescript/spago#readme";
license = lib.licenses.bsd3;
2019-12-20 07:12:29 +00:00
}