nixpkgs/pkgs/development/compilers/elm/packages/elm-repl.nix

30 lines
1.1 KiB
Nix
Raw Normal View History

{ mkDerivation, base, binary, bytestring, bytestring-trie, cmdargs
, containers, directory, elm-compiler, elm-package, fetchgit
2015-11-20 18:14:49 +01:00
, filepath, haskeline, HUnit, mtl, parsec, QuickCheck, stdenv
, test-framework, test-framework-hunit, test-framework-quickcheck2
}:
mkDerivation {
pname = "elm-repl";
2015-11-20 18:14:49 +01:00
version = "0.16";
src = fetchgit {
url = "https://github.com/elm-lang/elm-repl";
2015-11-20 18:14:49 +01:00
sha256 = "36d50cf1f86815900afd4b75da6e5cd15008b2652e97ffed0f321a28e6442874";
rev = "265de7283488964f44f0257a8b4a055ad8af984d";
};
isLibrary = false;
isExecutable = true;
2015-11-20 18:14:49 +01:00
executableHaskellDepends = [
base binary bytestring bytestring-trie cmdargs containers directory
2015-11-20 18:14:49 +01:00
elm-compiler elm-package filepath haskeline mtl parsec
];
2015-11-20 18:14:49 +01:00
testHaskellDepends = [
base bytestring bytestring-trie cmdargs directory elm-compiler
2015-11-20 18:14:49 +01:00
elm-package filepath haskeline HUnit mtl parsec QuickCheck
test-framework test-framework-hunit test-framework-quickcheck2
];
jailbreak = true;
homepage = "https://github.com/elm-lang/elm-repl";
description = "a REPL for Elm";
license = stdenv.lib.licenses.bsd3;
}