Merge pull request #250008 from dotlambda/coffeescript-buildNpmPackage
coffeescript: use buildNpmPackage
This commit is contained in:
commit
8fa0d873d4
32
pkgs/development/compilers/coffeescript/default.nix
Normal file
32
pkgs/development/compilers/coffeescript/default.nix
Normal file
|
@ -0,0 +1,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 = "A little language that compiles into JavaScript";
|
||||
homepage = "https://github.com/jashkenas/coffeescript";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "coffee";
|
||||
maintainers = with lib.maintainers; [ cdmistman ];
|
||||
};
|
||||
}
|
|
@ -58,6 +58,7 @@ mapAliases {
|
|||
castnow = pkgs.castnow; # added 2023-07-30
|
||||
inherit (pkgs) clean-css-cli; # added 2023-08-18
|
||||
coc-imselect = throw "coc-imselect was removed because it was broken"; # added 2023-08-21
|
||||
coffee-script = pkgs.coffeescript; # added 2023-08-18
|
||||
inherit (pkgs) configurable-http-proxy; # added 2023-08-19
|
||||
inherit (pkgs) cordova; # added 2023-08-18
|
||||
dat = throw "dat was removed because it was broken"; # added 2023-08-21
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
"@electron-forge/cli" = "electron-forge";
|
||||
"@microsoft/rush" = "rush";
|
||||
"@webassemblyjs/cli-1.11.1" = "wasm2wast";
|
||||
coffee-script = "coffee";
|
||||
"@withgraphite/graphite-cli" = "gt";
|
||||
|
||||
# Packages that provide a single executable.
|
||||
|
|
|
@ -89,7 +89,6 @@
|
|||
, "coc-yaml"
|
||||
, "coc-yank"
|
||||
, "code-theme-converter"
|
||||
, "coffee-script"
|
||||
, "coinmon"
|
||||
, "concurrently"
|
||||
, "conventional-changelog-cli"
|
||||
|
|
18
pkgs/development/node-packages/node-packages.nix
generated
18
pkgs/development/node-packages/node-packages.nix
generated
|
@ -80103,24 +80103,6 @@ in
|
|||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
coffee-script = nodeEnv.buildNodePackage {
|
||||
name = "coffee-script";
|
||||
packageName = "coffee-script";
|
||||
version = "1.12.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz";
|
||||
sha512 = "fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==";
|
||||
};
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Unfancy JavaScript";
|
||||
homepage = "http://coffeescript.org";
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
coinmon = nodeEnv.buildNodePackage {
|
||||
name = "coinmon";
|
||||
packageName = "coinmon";
|
||||
|
|
|
@ -15669,6 +15669,8 @@ with pkgs;
|
|||
|
||||
cmdstan = callPackage ../development/compilers/cmdstan { };
|
||||
|
||||
coffeescript = callPackage ../development/compilers/coffeescript { };
|
||||
|
||||
comby = callPackage ../development/tools/comby { };
|
||||
|
||||
inherit (coqPackages) compcert;
|
||||
|
|
Loading…
Reference in a new issue