nixpkgs/pkgs/development/tools/yo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
591 B
Nix
Raw Normal View History

2023-08-21 02:45:40 +00:00
{ 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; [ ];
};
}