mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 10:56:56 +00:00
31 lines
1.1 KiB
Nix
31 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.0.2";
|
|
sha256 = "025yhl32xr5fcsxval5rcj8jrgd6qnjq9bqbhbsr5ni8dz3ks5r3";
|
|
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 ];
|
|
};
|
|
})
|