Add Elm and elm-server
This commit is contained in:
parent
acc6039e2c
commit
bb53645b0f
21
pkgs/development/compilers/elm/elm-server.nix
Normal file
21
pkgs/development/compilers/elm/elm-server.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ cabal, blazeHtml, deepseq, Elm, filepath, happstackServer, HTTP
|
||||
, mtl, parsec, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "elm-server";
|
||||
version = "0.8";
|
||||
sha256 = "0mnxayfg54f5mr27sd1zw3xrdijppgvrz2yzzmhp07qc1jiyfald";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
blazeHtml deepseq Elm filepath happstackServer HTTP mtl parsec
|
||||
transformers
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://elm-lang.org";
|
||||
description = "The Elm language server";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
22
pkgs/development/compilers/elm/elm.nix
Normal file
22
pkgs/development/compilers/elm/elm.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ cabal, blazeHtml, blazeMarkup, cmdargs, deepseq, filepath, hjsmin
|
||||
, indents, json, mtl, pandoc, parsec, shakespeare, text
|
||||
, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Elm";
|
||||
version = "0.8.0.3";
|
||||
sha256 = "0zai8glmkiqramivgz405zh385cz166gpry2yl29g37dxpwxffzb";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
blazeHtml blazeMarkup cmdargs deepseq filepath hjsmin indents json
|
||||
mtl pandoc parsec shakespeare text transformers
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://elm-lang.org";
|
||||
description = "The Elm language module";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
13
pkgs/development/libraries/haskell/concatenative/default.nix
Normal file
13
pkgs/development/libraries/haskell/concatenative/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ cabal }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "concatenative";
|
||||
version = "1.0.1";
|
||||
sha256 = "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd";
|
||||
meta = {
|
||||
homepage = "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty";
|
||||
description = "A library for postfix control flow";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
14
pkgs/development/libraries/haskell/indents/default.nix
Normal file
14
pkgs/development/libraries/haskell/indents/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ cabal, concatenative, mtl, parsec }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "indents";
|
||||
version = "0.3.3";
|
||||
sha256 = "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn";
|
||||
buildDepends = [ concatenative mtl parsec ];
|
||||
meta = {
|
||||
homepage = "http://patch-tag.com/r/salazar/indents";
|
||||
description = "indentation sensitive parser-combinators for parsec";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -716,6 +716,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
compactStringFix = callPackage ../development/libraries/haskell/compact-string-fix {};
|
||||
|
||||
concatenative = callPackage ../development/libraries/haskell/concatenative {};
|
||||
|
||||
conduit = callPackage ../development/libraries/haskell/conduit {};
|
||||
|
||||
ConfigFile = callPackage ../development/libraries/haskell/ConfigFile {};
|
||||
@ -893,6 +895,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
elerea = callPackage ../development/libraries/haskell/elerea {};
|
||||
|
||||
Elm = callPackage ../development/compilers/elm/elm.nix {};
|
||||
|
||||
elmServer = callPackage ../development/compilers/elm/elm-server.nix {};
|
||||
|
||||
emailValidate = callPackage ../development/libraries/haskell/email-validate {};
|
||||
|
||||
encoding = callPackage ../development/libraries/haskell/encoding {};
|
||||
@ -1246,6 +1252,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
ieee754 = callPackage ../development/libraries/haskell/ieee754 {};
|
||||
|
||||
indents = callPackage ../development/libraries/haskell/indents {};
|
||||
|
||||
instantGenerics = callPackage ../development/libraries/haskell/instant-generics {};
|
||||
|
||||
ioChoice = callPackage ../development/libraries/haskell/io-choice {};
|
||||
|
Loading…
Reference in New Issue
Block a user