1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5}:
6
7buildNpmPackage rec {
8 pname = "coffeescript";
9 version = "2.7.0";
10
11 src = fetchFromGitHub {
12 owner = "jashkenas";
13 repo = "coffeescript";
14 rev = version;
15 hash = "sha256-vr46LKICX61rFPCkZ3G+8gJykg+MO43YRJnZGM3RoY0=";
16 };
17
18 npmDepsHash = "sha256-mCm31OwI3wjq8taKRQuEj4+IWVZO9Z5KuIDBf39lYoQ=";
19
20 env = {
21 PUPPETEER_SKIP_DOWNLOAD = true;
22 };
23
24 dontNpmBuild = true;
25
26 meta = {
27 description = "Little language that compiles into JavaScript";
28 homepage = "https://github.com/jashkenas/coffeescript";
29 license = lib.licenses.mit;
30 mainProgram = "coffee";
31 maintainers = with lib.maintainers; [ cdmistman ];
32 };
33}