mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Merge pull request #1612 from ocharles/haskellPackages.fay
haskellPackages.fay: New expression
This commit is contained in:
commit
4791ee9019
15
pkgs/development/libraries/haskell/fay-base/default.nix
Normal file
15
pkgs/development/libraries/haskell/fay-base/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
})
|
30
pkgs/development/libraries/haskell/fay/default.nix
Normal file
30
pkgs/development/libraries/haskell/fay/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
})
|
17
pkgs/development/libraries/haskell/sourcemap/default.nix
Normal file
17
pkgs/development/libraries/haskell/sourcemap/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
})
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user