b32df8f6a7
The elm-reactor setup.hs file tries to build an elm file that's not distributed in the cabal archive. The archive contains the already-compiled js file so the step is unnecessary and I'm patching it out.
27 lines
903 B
Nix
27 lines
903 B
Nix
{ cabal, blazeHtml, blazeMarkup, cmdargs, elmCompiler, elmMake, filepath
|
|
, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, text
|
|
, time, transformers, unorderedContainers, websockets
|
|
, websocketsSnap
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "elm-reactor";
|
|
version = "0.2.0.1";
|
|
sha256 = "1qnrxr3wayhw92w6lghchz8avxbxg00w7p6d1vs7mq9q56876jgj";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
patches = [ ./0001-remove-custom-build-step.patch ];
|
|
buildDepends = [
|
|
blazeHtml blazeMarkup cmdargs elmCompiler filepath fsnotify HTTP
|
|
mtl snapCore snapServer systemFilepath text time transformers
|
|
unorderedContainers websockets websocketsSnap elmMake
|
|
];
|
|
meta = {
|
|
homepage = "http://elm-lang.org";
|
|
description = "Interactive development tool for Elm programs";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
# broken = true;
|
|
};
|
|
})
|