mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
yo: use buildNpmPackage
This commit is contained in:
parent
b0bf0a1c0b
commit
30f1543fe7
@ -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; [ ];
|
||||
};
|
||||
}
|
@ -20415,6 +20415,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 New Issue
Block a user