diff options
author | Peter Simons <simons@cryp.to> | 2014-01-27 12:32:39 -0800 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-01-27 12:32:39 -0800 |
commit | 4791ee90199a7942260b51868f706e8f173acab8 (patch) | |
tree | 752dddfc65819ccaeaba91262f24d123cfb41c44 /pkgs/development | |
parent | 8bc3ee449f75a6f87cf98cb382d616475ada8019 (diff) | |
parent | e9b02facfccce759879235464dfe2372d6142e7a (diff) | |
download | nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.tar nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.tar.gz nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.tar.bz2 nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.tar.lz nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.tar.xz nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.tar.zst nixpkgs-4791ee90199a7942260b51868f706e8f173acab8.zip |
Merge pull request #1612 from ocharles/haskellPackages.fay
haskellPackages.fay: New expression
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/haskell/fay-base/default.nix | 15 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/fay/default.nix | 30 | ||||
-rw-r--r-- | pkgs/development/libraries/haskell/sourcemap/default.nix | 17 |
3 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/fay-base/default.nix b/pkgs/development/libraries/haskell/fay-base/default.nix new file mode 100644 index 00000000000..8e1212f5e5a --- /dev/null +++ b/pkgs/development/libraries/haskell/fay-base/default.nix @@ -0,0 +1,15 @@ +{ cabal, fay }: + +cabal.mkDerivation (self: { + pname = "fay-base"; + version = "0.18.0.0"; + sha256 = "010zjcs4y0zdb4gijrw10sjc56i271s35bkwg5c0lblyr62nml0s"; + buildDepends = [ fay ]; + meta = { + homepage = "https://github.com/faylang/fay-base"; + description = "The base package for Fay"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) 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 ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/sourcemap/default.nix b/pkgs/development/libraries/haskell/sourcemap/default.nix new file mode 100644 index 00000000000..602654b0a01 --- /dev/null +++ b/pkgs/development/libraries/haskell/sourcemap/default.nix @@ -0,0 +1,17 @@ +{ cabal, aeson, attoparsec, text, unorderedContainers, utf8String +}: + +cabal.mkDerivation (self: { + pname = "sourcemap"; + version = "0.1.2.0"; + sha256 = "040j2k1cwzlq5pybs6cg7wmf0x5i22zdidv2xvzdvgi5v7gf6kp1"; + buildDepends = [ + aeson attoparsec text unorderedContainers utf8String + ]; + meta = { + description = "Implementation of source maps as proposed by Google and Mozilla"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) |