Merge pull request #250462 from dotlambda/yo-buildNpmPackage
yo: use buildNpmPackage
This commit is contained in:
commit
a4b7b58a9f
5 changed files with 31 additions and 1037 deletions
|
@ -74,5 +74,6 @@ mapAliases {
|
|||
typescript = pkgs.typescript; # Added 2023-06-21
|
||||
vscode-langservers-extracted = pkgs.vscode-langservers-extracted; # Added 2023-05-27
|
||||
vue-cli = self."@vue/cli"; # added 2023-08-18
|
||||
inherit (pkgs) yo; # added 2023-08-20
|
||||
zx = pkgs.zx; # added 2023-08-01
|
||||
}
|
||||
|
|
|
@ -373,6 +373,5 @@
|
|||
, "yaml-language-server"
|
||||
, "yalc"
|
||||
, "yarn"
|
||||
, "yo"
|
||||
, "@zwave-js/server"
|
||||
]
|
||||
|
|
1036
pkgs/development/node-packages/node-packages.nix
generated
1036
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load diff
28
pkgs/development/tools/yo/default.nix
Normal file
28
pkgs/development/tools/yo/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "yo";
|
||||
version = "4.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yeoman";
|
||||
repo = "yo";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vnvcg3hvAYcqS11enBEHtpTwTOy4puY5i/6zPOHCywo=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-QkEPaepvI6NfEEmqnVA4Xx/tByn6goyGWVpoJNMigd8=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = {
|
||||
description = "CLI tool for running Yeoman generators";
|
||||
homepage = "https://github.com/yeoman/yo";
|
||||
license = lib.licenses.bsd2;
|
||||
mainProgram = "yo";
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -20424,6 +20424,8 @@ with pkgs;
|
|||
python = python3;
|
||||
};
|
||||
|
||||
yo = callPackage ../development/tools/yo { };
|
||||
|
||||
yodl = callPackage ../development/tools/misc/yodl { };
|
||||
|
||||
yq = python3.pkgs.toPythonApplication python3.pkgs.yq;
|
||||
|
|
Loading…
Reference in a new issue