mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
jake: use buildNpmPackage
This commit is contained in:
parent
ac3d200056
commit
8b5c880ae5
@ -76,6 +76,7 @@ mapAliases {
|
||||
immich = pkgs.immich-cli; # added 2023-08-19
|
||||
indium = throw "indium was removed because it was broken"; # added 2023-08-19
|
||||
ionic = throw "ionic was replaced by @ionic/cli"; # added 2023-08-19
|
||||
inherit (pkgs) jake; # added 2023-08-19
|
||||
inherit (pkgs) javascript-typescript-langserver; # added 2023-08-19
|
||||
karma = pkgs.karma-runner; # added 2023-07-29
|
||||
manta = pkgs.node-manta; # Added 2023-05-06
|
||||
|
@ -154,7 +154,6 @@
|
||||
, "imapnotify"
|
||||
, "insect"
|
||||
, "intelephense"
|
||||
, "jake"
|
||||
, "joplin"
|
||||
, "js-beautify"
|
||||
, "js-yaml"
|
||||
|
39
pkgs/development/node-packages/node-packages.nix
generated
39
pkgs/development/node-packages/node-packages.nix
generated
@ -91730,45 +91730,6 @@ in
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
jake = nodeEnv.buildNodePackage {
|
||||
name = "jake";
|
||||
packageName = "jake";
|
||||
version = "10.8.7";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz";
|
||||
sha512 = "ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==";
|
||||
};
|
||||
dependencies = [
|
||||
sources."ansi-styles-4.3.0"
|
||||
sources."async-3.2.4"
|
||||
sources."balanced-match-1.0.2"
|
||||
sources."brace-expansion-2.0.1"
|
||||
sources."chalk-4.1.2"
|
||||
sources."color-convert-2.0.1"
|
||||
sources."color-name-1.1.4"
|
||||
sources."concat-map-0.0.1"
|
||||
(sources."filelist-1.0.4" // {
|
||||
dependencies = [
|
||||
sources."minimatch-5.1.6"
|
||||
];
|
||||
})
|
||||
sources."has-flag-4.0.0"
|
||||
(sources."minimatch-3.1.2" // {
|
||||
dependencies = [
|
||||
sources."brace-expansion-1.1.11"
|
||||
];
|
||||
})
|
||||
sources."supports-color-7.2.0"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "JavaScript build tool, similar to Make or Rake";
|
||||
license = "Apache-2.0";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
joplin = nodeEnv.buildNodePackage {
|
||||
name = "joplin";
|
||||
packageName = "joplin";
|
||||
|
28
pkgs/development/tools/jake/default.nix
Normal file
28
pkgs/development/tools/jake/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "jake";
|
||||
version = "10.8.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jakejs";
|
||||
repo = "jake";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Qado9huQx9MVTFp8t7szB+IUVNWQqT/ni62JnURQqeM=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-3pOFrH/em/HMTswrZLAeqPAb9U0/odcZPt4AkQkMhZM=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = {
|
||||
description = "JavaScript build tool, similar to Make or Rake";
|
||||
homepage = "https://github.com/jakejs/jake";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "jake";
|
||||
maintainers = with lib.maintainers; [ jasoncarr ];
|
||||
};
|
||||
}
|
@ -19587,6 +19587,8 @@ with pkgs;
|
||||
|
||||
jacoco = callPackage ../development/tools/analysis/jacoco { };
|
||||
|
||||
jake = callPackage ../development/tools/jake { };
|
||||
|
||||
inherit (callPackage ../development/tools/build-managers/jam { })
|
||||
jam
|
||||
ftjam;
|
||||
|
Loading…
Reference in New Issue
Block a user