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

44 lines
1.8 KiB
Nix
Raw Normal View History

2019-12-20 08:12:29 +01:00
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async-pool
, base, bower-json, bytestring, Cabal, containers, dhall, directory
, either, exceptions, extra, fetchgit, file-embed, filepath, foldl
, fsnotify, github, Glob, hpack, hspec, hspec-discover
, hspec-megaparsec, http-client, http-conduit, lens-family-core
, megaparsec, mtl, network-uri, open-browser, optparse-applicative
, prettyprinter, process, QuickCheck, retry, rio, rio-orphans, safe
, semver-range, stdenv, stm, tar, template-haskell, temporary, text
, time, transformers, turtle, unliftio, unordered-containers
2020-04-15 15:41:09 +02:00
, vector, versions, with-utf8, zlib
2019-12-20 08:12:29 +01:00
}:
mkDerivation {
pname = "spago";
2020-04-15 15:41:09 +02:00
version = "0.15.1";
2019-12-20 08:12:29 +01:00
src = fetchgit {
2020-02-10 04:54:23 +01:00
url = "https://github.com/purescript/spago.git";
2020-04-15 15:41:09 +02:00
sha256 = "09ypbm03ap8xfhq803ra3cc01dxcavckn7nis6hi80dk2xxlhc3d";
rev = "d5d206ff0f5c686f8b609fb4bc2e866959cc0144";
2019-12-20 08:12:29 +01:00
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson aeson-pretty ansi-terminal async-pool base bower-json
bytestring Cabal containers dhall directory either exceptions
file-embed filepath foldl fsnotify github Glob http-client
http-conduit lens-family-core megaparsec mtl network-uri
2020-04-15 15:41:09 +02:00
open-browser optparse-applicative prettyprinter process retry rio
rio-orphans safe semver-range stm tar template-haskell temporary
text time transformers turtle unliftio unordered-containers vector
versions with-utf8 zlib
2019-12-20 08:12:29 +01:00
];
libraryToolDepends = [ hpack ];
2020-04-15 15:41:09 +02:00
executableHaskellDepends = [ base text turtle with-utf8 ];
2019-12-20 08:12:29 +01:00
testHaskellDepends = [
base containers directory extra hspec hspec-megaparsec megaparsec
process QuickCheck temporary text turtle versions
];
testToolDepends = [ hspec-discover ];
prePatch = "hpack";
2020-02-10 04:54:23 +01:00
homepage = "https://github.com/purescript/spago#readme";
2019-12-20 08:12:29 +01:00
license = stdenv.lib.licenses.bsd3;
}