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 | |
parent | 8bc3ee449f75a6f87cf98cb382d616475ada8019 (diff) | |
parent | e9b02facfccce759879235464dfe2372d6142e7a (diff) | |
download | nixlib-4791ee90199a7942260b51868f706e8f173acab8.tar nixlib-4791ee90199a7942260b51868f706e8f173acab8.tar.gz nixlib-4791ee90199a7942260b51868f706e8f173acab8.tar.bz2 nixlib-4791ee90199a7942260b51868f706e8f173acab8.tar.lz nixlib-4791ee90199a7942260b51868f706e8f173acab8.tar.xz nixlib-4791ee90199a7942260b51868f706e8f173acab8.tar.zst nixlib-4791ee90199a7942260b51868f706e8f173acab8.zip |
Merge pull request #1612 from ocharles/haskellPackages.fay
haskellPackages.fay: New expression
-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 | ||||
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 5 |
4 files changed, 67 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 000000000000..8e1212f5e5a0 --- /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 000000000000..d7c8ba5a4479 --- /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 000000000000..602654b0a01c --- /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 ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 11805d9a00f1..6e738048a924 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1036,6 +1036,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x executablePath = callPackage ../development/libraries/haskell/executable-path {}; + fay = callPackage ../development/libraries/haskell/fay {}; + fayBase = callPackage ../development/libraries/haskell/fay-base {}; + filepath_1_3_0_0 = callPackage ../development/libraries/haskell/filepath {}; filepath = null; # a core package in recent GHCs @@ -2179,6 +2182,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x socketActivation = callPackage ../development/libraries/haskell/socket-activation {}; + sourcemap = callPackage ../development/libraries/haskell/sourcemap {}; + split_0_2_1_1 = callPackage ../development/libraries/haskell/split/0.2.1.1.nix {}; split_0_2_2 = callPackage ../development/libraries/haskell/split/0.2.2.nix {}; split = self.split_0_2_2; |