Unverified Commit 122141d3 authored by Yifei Sun's avatar Yifei Sun Committed by GitHub
Browse files

ionic-cli: init at 7.2.1 (#445463)

parents 1eea40e3 93a611e7
Loading
Loading
Loading
Loading
+8268 −0

File added.

Preview size limit exceeded, changes collapsed.

+32 −0
Original line number Diff line number Diff line
{
  buildNpmPackage,
  fetchzip,
  lib,
}:
buildNpmPackage (finalAttrs: {
  pname = "ionic-cli";
  version = "7.2.1";

  src = fetchzip {
    url = "https://registry.npmjs.org/@ionic/cli/-/cli-${finalAttrs.version}.tgz";
    hash = "sha256-nrZMMyzoiO7ZJbNrPSRA1sOEy3OpgEXdyNS0JzAaTjY=";
  };

  postPatch = ''
    cp ${./package-lock.json} package-lock.json
  '';

  npmDepsHash = "sha256-Nu4AWwFaGBakGAxUNllx4etUm4H5ygxAeMs1RWhzRQQ=";

  dontNpmBuild = true;

  meta = {
    description = "Your go-to tool for developing Ionic apps";
    homepage = "https://ionicframework.com/";
    license = lib.licenses.mit;
    mainProgram = "ionic";
    maintainers = with lib.maintainers; [
      albertlarsan68
    ];
  };
})