about summary refs log tree commit diff
path: root/pkgs/development/compilers/coffeescript/default.nix
blob: a5ef29967e075c643bfe73608adf1e3914866528 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildNpmPackage
, fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "coffeescript";
  version = "2.7.0";

  src = fetchFromGitHub {
    owner = "jashkenas";
    repo = "coffeescript";
    rev = version;
    hash = "sha256-vr46LKICX61rFPCkZ3G+8gJykg+MO43YRJnZGM3RoY0=";
  };

  npmDepsHash = "sha256-mCm31OwI3wjq8taKRQuEj4+IWVZO9Z5KuIDBf39lYoQ=";

  env = {
    PUPPETEER_SKIP_DOWNLOAD = true;
  };

  dontNpmBuild = true;

  meta = {
    description = "Little language that compiles into JavaScript";
    homepage = "https://github.com/jashkenas/coffeescript";
    license = lib.licenses.mit;
    mainProgram = "coffee";
    maintainers = with lib.maintainers; [ cdmistman ];
  };
}