mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
bb104abf63
This commit adds the spago package, a PureScript package manager and build tool. https://github.com/spacchetti/spago
48 lines
2 KiB
Nix
48 lines
2 KiB
Nix
{ 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
|
|
, vector, versions, zlib
|
|
}:
|
|
mkDerivation {
|
|
pname = "spago";
|
|
version = "0.12.1.0";
|
|
src = fetchgit {
|
|
url = "https://github.com/spacchetti/spago";
|
|
sha256 = "17xgp75yxangmb65sv3raysad31kmc109c4q4aj9dgcdqz23fcn2";
|
|
rev = "a4679880402ead320f8be2f091b25d30e27b62df";
|
|
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
|
|
open-browser prettyprinter process retry rio rio-orphans safe
|
|
semver-range stm tar template-haskell temporary text time
|
|
transformers turtle unliftio unordered-containers vector versions
|
|
zlib
|
|
];
|
|
libraryToolDepends = [ hpack ];
|
|
executableHaskellDepends = [
|
|
aeson-pretty async-pool base bytestring containers dhall filepath
|
|
github lens-family-core megaparsec optparse-applicative process
|
|
retry stm temporary text time turtle vector
|
|
];
|
|
testHaskellDepends = [
|
|
base containers directory extra hspec hspec-megaparsec megaparsec
|
|
process QuickCheck temporary text turtle versions
|
|
];
|
|
testToolDepends = [ hspec-discover ];
|
|
prePatch = "hpack";
|
|
homepage = "https://github.com/spacchetti/spago#readme";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
}
|