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