grunt-cli: init at 1.5.0, nodePackages.grunt-cli: drop (#472069)
This commit is contained in:
+1388
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "grunt-cli";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gruntjs";
|
||||
repo = "grunt-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-t1J6JLrY2H6ND/T2sl/3/6BZf4nFbUJs1dYvknRbs5s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./package-lock.json} package-lock.json
|
||||
'';
|
||||
|
||||
npmDepsHash = "sha256-SJmgMDw+BBm6NGUzFD4q5PVAZvYXelpM1d20xvL9U9c=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = {
|
||||
description = "The grunt command line interface";
|
||||
homepage = "https://github.com/gruntjs/grunt-cli";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ onny ];
|
||||
mainProgram = "grunt";
|
||||
};
|
||||
}
|
||||
@@ -14,7 +14,6 @@
|
||||
jdk,
|
||||
lib,
|
||||
nodejs,
|
||||
nodePackages,
|
||||
# needs to be static and built with MD2 support!
|
||||
openssl,
|
||||
pkg-config,
|
||||
@@ -23,6 +22,7 @@
|
||||
stdenv,
|
||||
writeScript,
|
||||
x2t,
|
||||
grunt-cli,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -149,7 +149,7 @@ let
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
nodePackages.grunt-cli
|
||||
grunt-cli
|
||||
];
|
||||
|
||||
dontNpmBuild = true;
|
||||
@@ -189,7 +189,7 @@ let
|
||||
dontNpmBuild = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodePackages.grunt-cli
|
||||
grunt-cli
|
||||
jdk
|
||||
];
|
||||
|
||||
|
||||
@@ -192,6 +192,7 @@ mapAliases {
|
||||
inherit (pkgs) graphite-cli; # added 2024-01-25
|
||||
inherit (pkgs) graphql-language-service-cli; # added 2025-03-17
|
||||
inherit (pkgs) graphqurl; # added 2023-08-19
|
||||
inherit (pkgs) grunt-cli; # added 2025-12-29
|
||||
gtop = pkgs.gtop; # added 2023-07-31
|
||||
gulp = self.gulp-cli; # Added 2025-11-04
|
||||
he = throw "'he' has been removed because it was unmaintained upstream"; # Added 2025-11-14
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
# Packages that provide a single executable.
|
||||
"@angular/cli" = "ng";
|
||||
grunt-cli = "grunt";
|
||||
gulp-cli = "gulp";
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
, "dotenv-vault"
|
||||
, "elasticdump"
|
||||
, "esy"
|
||||
, "grunt-cli"
|
||||
, "gulp-cli"
|
||||
, "js-yaml"
|
||||
, "lcov-result-merger"
|
||||
|
||||
Reference in New Issue
Block a user