1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/tools/purescript/spago/spago.nix

45 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
, base, bower-json, bytestring, Cabal, containers, dhall, directory
, either, exceptions, extra, fetchgit, file-embed, filepath, foldl
2020-12-23 08:30:54 +00:00
, 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, stdenv
, stm, stringsearch, tar, template-haskell, temporary, text, time
, transformers, turtle, unliftio, unordered-containers, utf8-string
, vector, versions, with-utf8, zlib
2019-12-20 07:12:29 +00:00
}:
mkDerivation {
pname = "spago";
2020-12-23 08:30:54 +00:00
version = "0.18.0";
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";
2020-12-23 08:30:54 +00:00
sha256 = "03ww7qhrggwsbm0kcnvcr3ifb8rm860ajimzr81isiw46ykwrl38";
rev = "a4d39c21cae2f2c6d43fa204853c8e17c72904d2";
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
bytestring Cabal containers dhall directory either exceptions
2020-12-23 08:30:54 +00:00
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
2019-12-20 07:12:29 +00:00
];
libraryToolDepends = [ hpack ];
2020-04-15 14:41:09 +01:00
executableHaskellDepends = [ 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";
2019-12-20 07:12:29 +00:00
license = stdenv.lib.licenses.bsd3;
}