mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
693 B
Nix
32 lines
693 B
Nix
{ 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 ];
|
|
};
|
|
}
|