summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/fay/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/fay/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/fay/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/fay/default.nix b/pkgs/development/libraries/haskell/fay/default.nix
new file mode 100644
index 00000000000..d7c8ba5a447
--- /dev/null
+++ b/pkgs/development/libraries/haskell/fay/default.nix
@@ -0,0 +1,30 @@
+{ cabal, aeson, attoparsec, Cabal, cpphs, dataDefault, filepath
+, ghcPaths, haskellNames, haskellPackages, haskellSrcExts, HUnit
+, languageEcmascript, mtl, optparseApplicative, prettyShow, safe
+, sourcemap, split, syb, testFramework, testFrameworkHunit
+, testFrameworkTh, text, time, uniplate, unorderedContainers
+, utf8String, vector
+}:
+
+cabal.mkDerivation (self: {
+  pname = "fay";
+  version = "0.18.1.3";
+  sha256 = "1m747l2555w1jkdwh8b851mxvngiy7l7sbkwvm2il6k5ygcz5gbv";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [
+    aeson attoparsec Cabal cpphs dataDefault filepath ghcPaths
+    haskellNames haskellPackages haskellSrcExts HUnit
+    languageEcmascript mtl optparseApplicative prettyShow safe
+    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 ];
+  };
+})