30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
{ cabal, aeson, attoparsec, Cabal, cpphs, dataDefault, filepath
|
|
, ghcPaths, haskellNames, haskellPackages, haskellSrcExts, HUnit
|
|
, languageEcmascript, mtl, optparseApplicative, prettyShow, safe
|
|
, scientific, sourcemap, split, syb, testFramework
|
|
, testFrameworkHunit, testFrameworkTh, text, time, uniplate
|
|
, unorderedContainers, utf8String, vector
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "fay";
|
|
version = "0.19.2.1";
|
|
sha256 = "05d0vmcwhssrr50zhbxbn3yg7h1rcjiqc4dpy3dd8kxlw6aizwq3";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
aeson attoparsec Cabal cpphs dataDefault filepath ghcPaths
|
|
haskellNames haskellPackages haskellSrcExts HUnit
|
|
languageEcmascript mtl optparseApplicative prettyShow safe
|
|
scientific sourcemap split syb testFramework testFrameworkHunit
|
|
testFrameworkTh text time uniplate unorderedContainers utf8String
|
|
vector
|
|
];
|
|
meta = {
|
|
homepage = "http://fay-lang.org/";
|
|
description = "A compiler for Fay, a Haskell subset that compiles to JavaScript";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
|
};
|
|
})
|