Merge pull request #3178 from tomberek/haskell_hastePerch
Haskell haste perch
This commit is contained in:
commit
6365987e53
@ -0,0 +1,25 @@
|
||||
{ cabal, binary, blazeBuilder, bzlib, dataBinaryIeee754
|
||||
, dataDefault, executablePath, filepath, ghcPaths, HTTP, monadsTf
|
||||
, mtl, network, random, shellmate, systemFileio, tar, temporary
|
||||
, time, transformers, utf8String, websockets, zipArchive
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "haste-compiler";
|
||||
version = "0.3";
|
||||
sha256 = "0a0hyra1h484c404d95d411l7gddaazy1ikwzlgkgzaqzd7j7dbd";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
binary blazeBuilder bzlib dataBinaryIeee754 dataDefault
|
||||
executablePath filepath ghcPaths HTTP monadsTf mtl network random
|
||||
shellmate systemFileio tar temporary time transformers utf8String
|
||||
websockets zipArchive
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/valderman/haste-compiler";
|
||||
description = "Haskell To ECMAScript compiler";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
15
pkgs/development/libraries/haskell/haste-perch/default.nix
Normal file
15
pkgs/development/libraries/haskell/haste-perch/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ cabal, hasteCompiler, mtl }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "haste-perch";
|
||||
version = "0.1.0.0";
|
||||
sha256 = "0g2ijb0mzqs2iq4i47biaxbsg4v15w9ky6yyz6wmngwf06rg4iwj";
|
||||
buildDepends = [ hasteCompiler mtl ];
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "https://github.com/agocorona/haste-perch";
|
||||
description = "Create dynamic HTML in the browser using blaze-html-style notation with Haste";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -1016,6 +1016,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
||||
|
||||
hastache = callPackage ../development/libraries/haskell/hastache {};
|
||||
|
||||
hasteCompiler = callPackage ../development/libraries/haskell/haste-compiler {};
|
||||
|
||||
hastePerch = callPackage ../development/libraries/haskell/haste-perch {};
|
||||
|
||||
hcltest = callPackage ../development/libraries/haskell/hcltest {};
|
||||
|
||||
hedis = callPackage ../development/libraries/haskell/hedis {};
|
||||
|
Loading…
Reference in New Issue
Block a user